XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct ($id=null) | |
delete () | |
id () | |
max_file_size () | |
save () | |
user_allowed_toupload (XoopsUser $user) | |
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 () | |
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() | |
Class for manage categories from images manager
Definition at line 14 of file imagecategory.php.
RMImageCategory::__construct | ( | $id = null | ) |
Definition at line 16 of file imagecategory.php.
References $id, RMObject\initVarsFromTable(), RMObject\loadValues(), RMObject\setNew(), RMObject\setVarType(), and RMObject\unsetNew().
RMImageCategory::delete | ( | ) |
Definition at line 67 of file imagecategory.php.
References RMObject\deleteFromTable().
RMImageCategory::id | ( | ) |
Definition at line 33 of file imagecategory.php.
References RMObject\getVar().
RMImageCategory::max_file_size | ( | ) |
Definition at line 45 of file imagecategory.php.
References RMObject\getVar().
RMImageCategory::save | ( | ) |
Definition at line 37 of file imagecategory.php.
References RMObject\isNew(), RMObject\saveToTable(), and RMObject\updateTable().
RMImageCategory::user_allowed_toupload | ( | XoopsUser | $user | ) |
Check if given user is allowed
object | XoopsUser object |
Definition at line 55 of file imagecategory.php.
References $id, and RMObject\getVar().