Method |
Description |
|
__call ( $m, $as ) |
Provide dynamic cascading accessors. |
|
__construct ( $accessor, array $data = [] ) |
|
|
__get ( $key ) |
|
|
__set ( $key, $val ) |
|
|
__set_state ( array $data ) |
To support var_export. |
|
applyFilter ( BaseCollection &$collection ) |
|
|
applyOrder ( BaseCollection &$collection ) |
|
|
applyWhere ( BaseCollection &$collection ) |
|
|
by ( $column ) |
|
|
filter ( callback $filter ) |
Define filter for collection. |
|
getForeignCollection ( ) |
|
|
getIterator ( ) |
To support foreach operation. |
|
isHasMany ( ) |
|
|
isManyToMany ( ) |
|
|
isOneToMany ( ) |
|
|
isType ( $type ) |
|
|
newForeignCollection ( ) |
|
|
newForeignForeignCollection ( $junctionRelation ) : BaseCollection |
Resolve the junction relationship to retrieve foreign collection of the foreign collection. |
|
newForeignModel ( ) |
|
|
newForeignSchema ( ) |
|
|
offsetExists ( $name ) |
|
|
offsetGet ( $name ) |
|
|
offsetSet ( $name, $value ) |
|
|
offsetUnset ( $name ) |
|
|
onDelete ( $action ) |
|
|
onUpdate ( $action ) |
|
|
order ( ) |
|
|
orderBy ( string $column, string $ordering ) |
Save order on the relationship. |
|
usingIndex ( $index = true ) |
|
|
where ( $expr = null, array $args = [] ) |
|
|