XOOPS 2.5.6
Final
|
Public Member Functions | |
__construct (&$db) | |
delete (&$obj, $force=false) | |
getUserVars () | |
insert (&$obj, $force=false) | |
loadFields ($force_update=false) | |
ProfileFieldHandler (&$db) | |
Public Member Functions inherited from XoopsPersistableObjectHandler | |
__construct ($db=null, $table= '', $className= '', $keyName= '', $identifierName= '') | |
__call ($name, $args) | |
cleanOrphan ($table_link= '', $field_link= '', $field_object= '') | |
convertResultSet ($result, $id_as_key=false, $as_object=true) | |
& | create ($isNew=true) |
delete (&$object, $force=false) | |
deleteAll ($criteria=null, $force=true, $asObject=false) | |
deleteByLink ($criteria=null) | |
& | get ($id=null, $fields=null) |
& | getAll ($criteria=null, $fields=null, $asObject=true, $id_as_key=true) |
& | getByLimit ($limit=0, $start=0, $criteria=null, $fields=null, $asObject=true) |
& | getByLink ($criteria=null, $fields=null, $asObject=true, $field_link=null, $field_object=null) |
getCount ($criteria=null) | |
getCountByLink ($criteria=null) | |
getCounts ($criteria=null) | |
getCountsByLink ($criteria=null) | |
& | getIds ($criteria=null) |
getList ($criteria=null, $limit=0, $start=0) | |
& | getObjects ($criteria=null, $id_as_key=false, $as_object=true) |
insert (&$object, $force=true) | |
loadHandler ($name, $args=null) | |
setHandler ($handler=null, $args=null, $path=null) | |
synchronization () | |
updateAll ($fieldname, $fieldvalue, $criteria=null, $force=false) | |
updateByLink ($data, $criteria=null) | |
XoopsPersistableObjectHandler ($db=null, $table= '', $className= '', $keyName= '', $identifierName= '') | |
Public Member Functions inherited from XoopsObjectHandler | |
& | create () |
delete (&$object) | |
& | get ($int_id) |
insert (&$object) | |
XoopsObjectHandler (&$db) | |
Additional Inherited Members | |
Public Attributes inherited from XoopsPersistableObjectHandler | |
$className | |
$handler | |
$handlers = array('read' => null , 'stats' => null , 'joint' => null , 'write' => null , 'sync' => null) | |
$identifierName | |
$keyName | |
$table | |
ProfileFieldHandler::__construct | ( | & | $db | ) |
Definition at line 422 of file field.php.
References XoopsObjectHandler\$db.
Referenced by ProfileFieldHandler().
ProfileFieldHandler::delete | ( | & | $obj, |
$force = false |
|||
) |
delete a profile field from the database
object | $obj | reference to the object to delete |
bool | $force |
Definition at line 593 of file field.php.
References $criteria, $module_handler, $profile_handler, $sql, xoops_gethandler(), and xoops_getmodulehandler().
ProfileFieldHandler::getUserVars | ( | ) |
ProfileFieldHandler::insert | ( | & | $obj, |
$force = false |
|||
) |
save a profile field in the database
object | $obj | reference to the object |
bool | $force | whether to force the query execution despite security settings |
bool | $checkObject | check if the object is dirty and clean the attributes |
Definition at line 457 of file field.php.
References $_REQUEST, $profile_handler, $sql, $type, getUserVars(), XOBJ_DTYPE_ARRAY, XOBJ_DTYPE_DECIMAL, XOBJ_DTYPE_EMAIL, XOBJ_DTYPE_FLOAT, XOBJ_DTYPE_INT, XOBJ_DTYPE_MTIME, XOBJ_DTYPE_OTHER, XOBJ_DTYPE_TXTAREA, XOBJ_DTYPE_TXTBOX, XOBJ_DTYPE_UNICODE_ARRAY, XOBJ_DTYPE_UNICODE_EMAIL, XOBJ_DTYPE_UNICODE_TXTAREA, XOBJ_DTYPE_UNICODE_TXTBOX, XOBJ_DTYPE_UNICODE_URL, XOBJ_DTYPE_URL, and xoops_getmodulehandler().
ProfileFieldHandler::loadFields | ( | $force_update = false | ) |
ProfileFieldHandler::ProfileFieldHandler | ( | & | $db | ) |
Definition at line 417 of file field.php.
References XoopsObjectHandler\$db, and __construct().