XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
RMUser Class Reference
Inheritance diagram for RMUser:
Inheritance graph

Public Member Functions

 __construct ($id='')
 
getGroups ()
 
 groups ($data=false, $fields='groupid')
 
 save ()
 
 setGroups ($groupsArr)
 
- Public Member Functions inherited from RMObject
 _loadFilters ()
 
 assignVar ($key, $value)
 
 assignVars ($var_arr)
 
 cleanVars ()
 
 errors ($html=true)
 
 getErrors ()
 
 getHtmlErrors ()
 
 getLogger ($ashtml=true)
 
 getValues ($keys=null, $format= 's', $maxDepth=1)
 
 getVar ($key, $format= 's')
 
 getVars ($formated=false, $format= 's')
 
 id ()
 
 initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options= '')
 
 isDirty ()
 
 isNew ()
 
 registerFilter ($filtername)
 
 rmClone ()
 
 setDirty ()
 
 setErrors ($err_str)
 
 setFormVars ($var_arr=null, $pref='xo_', $not_gpc=false)
 
 setNew ()
 
 setVar ($key, $value, $not_gpc=false)
 
 setVarLen ($var, $len=null)
 
 setVarRequired ($var, $required)
 
 setVars ($var_arr, $not_gpc=false)
 
 setVarType ($var, $type)
 
 unsetDirty ()
 
 unsetNew ()
 

Private Attributes

 $groups = array()
 

Additional Inherited Members

- Public Attributes inherited from RMObject
 $cleanVars = array()
 
- Protected Member Functions inherited from RMObject
 addError ($text)
 
 clear_vars ()
 
 clearLogger ()
 
 deleteFromTable ()
 
 getColumns ()
 
 initVarsFromTable ()
 
 loadValues ($id)
 
 loadValuesArray ($values)
 
 loadValuesFiltered ($filter='')
 
 logger ($event, $style='')
 
 saveToTable ()
 
 updateTable ()
 
 varIsset ($var)
 
- Protected Attributes inherited from RMObject
 $_dbtable = ''
 
 $_log = array()
 
 $db = null
 
 $primary = 'id'
 
 $vars = array()
 

Detailed Description

Definition at line 11 of file user.php.

Constructor & Destructor Documentation

RMUser::__construct (   $id = '')

Definition at line 15 of file user.php.

References $id, RMObject\initVarsFromTable(), RMObject\loadValues(), RMObject\setNew(), and RMObject\unsetNew().

Here is the call graph for this function:

Member Function Documentation

& RMUser::getGroups ( )

Definition at line 41 of file user.php.

References $groups, $result, $sql, RMObject\getVar(), and groups().

Referenced by groups().

Here is the call graph for this function:

Here is the caller graph for this function:

RMUser::groups (   $data = false,
  $fields = 'groupid' 
)

Definition at line 58 of file user.php.

References $data, $groups, $result, $sql, and getGroups().

Referenced by getGroups(), save(), and setGroups().

Here is the call graph for this function:

Here is the caller graph for this function:

RMUser::save ( )

Guardmaos los datos del usuarios

Si ocurrió un error al guardar los datos entonces salimos del método. No se pueden guardar los grupos hasta que esto se haya realizado

Asignamos los grupos

Definition at line 73 of file user.php.

References $ret, $sql, RMObject\getVar(), groups(), RMObject\isNew(), RMObject\saveToTable(), and RMObject\updateTable().

Here is the call graph for this function:

RMUser::setGroups (   $groupsArr)

Definition at line 35 of file user.php.

References groups().

Here is the call graph for this function:

Member Data Documentation

RMUser::$groups = array()
private

Definition at line 13 of file user.php.

Referenced by getGroups(), and groups().


The documentation for this class was generated from the following file: