Свойство | Type | Description | |
---|---|---|---|
$__owner | owner of this container | ||
$__relation | relationship of the owner to this container | ||
$__removed | removed models |
Méthode | Description | |
---|---|---|
__construct ( array $data = [] ) : void | Preloads the container. | |
as_array ( ) : array | Return the container contents as an associative array. | |
changed ( ) | ||
factory ( Hive $owner = NULL, Hive_Relation $relation = NULL ) : Hive_Container | Create a new container. | |
offsetSet ( $key, $model ) | ||
offsetUnset ( $key ) : void | Store the removed element, so that it can be managed later. | |
owner ( Hive $owner = NULL ) | ||
relation ( Hive_Relation $relation = NULL ) | ||
values ( array $values = NULL ) |
public __construct ( array $data = [] ) : void | ||
$data | array | |
Résultat | void |
public static factory ( Hive $owner = NULL, Hive_Relation $relation = NULL ) : Hive_Container | ||
$owner | Hive | |
$relation | Hive_Relation | |
Résultat | Hive_Container |
public offsetUnset ( $key ) : void | ||
Résultat | void |
public relation ( Hive_Relation $relation = NULL ) | ||
$relation | Hive_Relation |