Method |
Description |
|
add ( &$in ) |
returns the database ID of the added field or FALSE if failed |
|
delete ( &$id ) |
returns the # of deleted fields (int). 0 (false) if none. |
|
get ( $p = [] ) |
returns an array of fields. Array key(s) correlates to field key. |
|
getByType ( $type ) |
returns an array of field IDs |
|
getNames ( $id = null ) |
returns an array of field names. Array key(s) correlates to field ID. |
|
make ( $in = [] ) |
return a field (array) |
|
makeDB ( $row ) |
return a field (array) |
|
optionAdd ( &$field, $value ) |
returns field options (array), or false (bool) |
|
optionDel ( &$field, &$value ) |
returns field options (array), or false (bool) |
|
subscribersAffected ( $id = [], $val = null ) |
returns an (array) of subscriber IDs. |
|
update ( &$in ) |
returns success (bool) |
|
validate ( &$in ) |
returns true if field ($in) is valid, false if not |
|