|
SplObjectStorage::offsetSetAssociates data to an object in the storage Beschreibung
public void SplObjectStorage::offsetSet
( object
$object
[, mixed $data = NULL
] )Associate data to an object in the storage.
Parameter-Liste
RückgabewerteEs wird kein Wert zurückgegeben. Beispiele
Beispiel #1 SplObjectStorage::offsetSet example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: string(5) "hello" Siehe auch
|