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

Public Member Functions

 __construct ($id=null)
 
 delete ()
 
 id ()
 
 save ()
 
- 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 Member Functions

 load_user ()
 

Private Attributes

 $user = 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 comment.php.

Constructor & Destructor Documentation

RMComment::__construct (   $id = null)

Definition at line 18 of file comment.php.

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

Here is the call graph for this function:

Member Function Documentation

RMComment::delete ( )

Delete Comment

Definition at line 73 of file comment.php.

References $sql, $user, RMObject\addError(), RMObject\deleteFromTable(), RMObject\getVar(), and id().

Here is the call graph for this function:

RMComment::id ( )

Definition at line 35 of file comment.php.

References RMObject\getVar().

Referenced by delete().

Here is the call graph for this function:

Here is the caller graph for this function:

RMComment::load_user ( )
private

Definition at line 39 of file comment.php.

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

Here is the call graph for this function:

RMComment::save ( )

Save comment

Definition at line 55 of file comment.php.

References $ret, RMEvents\get(), RMObject\isNew(), RMObject\saveToTable(), and RMObject\updateTable().

Here is the call graph for this function:

Member Data Documentation

RMComment::$user = array()
private

User owner

Definition at line 16 of file comment.php.

Referenced by delete().


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