메소드 |
설명 |
|
aftererase ( $func ) : callback |
Define aftererase trigger |
|
afterinsert ( $func ) : callback |
Define afterinsert trigger |
|
aftersave ( $func ) : callback |
Define aftersave trigger |
|
afterupdate ( $func ) : callback |
Define afterupdate trigger |
|
beforeerase ( $func ) : callback |
Define beforeerase trigger |
|
beforeinsert ( $func ) : callback |
Define beforeinsert trigger |
|
beforesave ( $func ) : callback |
Define beforesave trigger |
|
beforeupdate ( $func ) : callback |
Define beforeupdate trigger |
|
cast ( $obj = NULL ) : array |
Return fields of mapper object as an associative array |
|
copyfrom ( $var, $func = NULL ) : null |
Hydrate mapper object using hive array variable |
|
copyto ( $key ) : null |
Populate hive array variable with mapper fields |
|
count ( $filter = NULL, $ttl ) : integer |
Count records that match criteria |
|
dbtype ( ) : string |
Return database type |
|
dry ( ) : boolean |
Return TRUE if current cursor position is not mapped to any record |
|
erase ( ) : integer | boolean |
Delete current record |
|
fields ( ) : array |
Return field names |
|
find ( $filter = NULL, array $options = NULL, $ttl ) : array |
Return records (array of mapper objects) that match criteria |
|
findone ( $filter = NULL, array $options = NULL, $ttl ) : static | FALSE |
Return first record (mapper object) that matches criteria |
|
first ( ) : mixed |
Map to first record in cursor |
|
getiterator ( ) |
Get cursor's equivalent external iterator
Causes a fatal error in PHP 5.3.5 if uncommented
return ArrayIterator |
|
insert ( ) : array |
Insert new record |
|
last ( ) : mixed |
Map to last record in cursor |
|
load ( $filter = NULL, array $options = NULL, $ttl ) : array | FALSE |
Map to first record that matches criteria |
|
loaded ( ) : integer |
Return the count of records loaded |
|
next ( ) : mixed |
Map next record |
|
onerase ( $func ) : callback |
Define onerase trigger |
|
oninsert ( $func ) : callback |
Define oninsert trigger |
|
onload ( $func ) : callback |
Define onload trigger |
|
onsave ( $func ) : callback |
Define onsave trigger |
|
onupdate ( $func ) : callback |
Define onupdate trigger |
|
paginate ( $pos, $size = 10, $filter = NULL, array $options = NULL, $ttl ) : array |
Return array containing subset of records matching criteria,
total number of records in superset, specified limit, number of
subsets available, and actual subset position |
|
prev ( ) : mixed |
Map previous record |
|
reset ( ) : null |
Reset cursor |
|
save ( ) : mixed |
Save mapped record |
|
skip ( $ofs = 1 ) : mixed |
Map to nth record relative to current cursor position |
|
update ( ) : array |
Update current record |
|
valid ( ) |
Return whether current iterator position is valid. |
|