메소드 |
설명 |
|
__call ( string $method, mixed $args ) : method |
Call a method |
|
__construct ( mixed $builder, mixed $vals, string $cls ) |
Constructor |
|
avg ( string $attr ) : mixed |
Return collection attribute average |
|
count ( ) : integer |
Return collection row count |
|
current ( ) : mixed |
Return current value |
|
destroy ( ) : destroyed |
Destroy collection records |
|
key ( ) : mixed |
Return current key |
|
limit ( integer $limit ) : mixed |
Define row limit |
|
max ( string $attr ) : mixed |
Return collection attribute maximum value |
|
min ( string $attr ) : mixed |
Return collection attribute minimum value |
|
next ( ) : mixed |
Return the next collection object |
|
order ( integer $order ) : mixed |
Define row order |
|
paginate ( integer $page, integer $per_page = 50 ) : mixed |
Return collection pagination page |
|
rewind ( ) : null |
Rewind collection |
|
sum ( string $attr ) : mixed |
Return collection attribute sum |
|
toArray ( string $limit ) : mixed |
Convert collection to an array |
|
updateAttributes ( string $attrs ) : updated |
Update collection attributes |
|
valid ( ) : boolean |
Return if its valid |
|