Method |
Description |
|
__construct ( $key = 'basket' ) : void |
Instantiate class |
|
checkout ( ) : array |
Check out basket contents |
|
clear ( $key ) : null |
Delete field |
|
copyfrom ( $var ) : null |
Hydrate item using hive array variable |
|
copyto ( $key ) : null |
Populate hive array variable with item contents |
|
count ( ) : integer |
Return number of items in basket |
|
drop ( ) : null |
Empty basket |
|
dry ( ) : boolean |
Return TRUE if current item is empty/undefined |
|
erase ( $key, $val ) : boolean |
Erase item matching key/value pair |
|
exists ( $key ) : boolean |
Return TRUE if field is defined |
|
find ( $key = NULL, $val = NULL ) : array |
Return items that match key/value pair;
If no key/value pair specified, return all items |
|
findone ( $key, $val ) : object | FALSE |
Return first item that matches key/value pair |
|
get ( $key ) : scalar | FALSE |
Retrieve value of field |
|
load ( $key, $val ) : array |
Map current item to matching key/value pair |
|
reset ( ) : null |
Reset cursor |
|
save ( ) : array |
Save current item |
|
set ( $key, $val ) : scalar | FALSE |
Assign value to field |
|