XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
insert (&$obj, $force=false) | |
& | getObjectsWithOverride ($criteria, $tplset) |
delete (&$obj, $force=false) | |
& | getRecentModifyFile ($limit=10) |
& | find ($tplsetName, $type=null, $refId=null, $module=null, $file=null) |
![]() | |
__construct (&$db) | |
& | create ($isNew=true) |
& | get ($id) |
& | getObjects ($criteria=null, $limit=null, $start=null, $id_as_key=false) |
getIdList ($criteria=null, $limit=null, $start=null) | |
getCount ($criteria=null) | |
_getCount ($sql=null) | |
_insert (&$obj) | |
_update (&$obj) | |
_makeVars4sql (&$obj) | |
_makeCriteria4sql ($criteria) | |
_makeCriteriaElement4sql ($criteria, &$obj) | |
_escapeValue ($value, $type) | |
deleteAll ($criteria, $force=false) | |
getDirname () | |
getDataname () | |
_callDelegate ( $type, &$obj) | |
![]() | |
& | create () |
insert (&$object) | |
delete (&$object) | |
Data Fields | |
$mTable = 'tplfile' | |
$mPrimary = 'tpl_id' | |
$mClass = 'LegacyRenderTplfileObject' | |
![]() | |
$mTable = null | |
$mPrimary = null | |
$mClass = null | |
$mDirname = null | |
$mDataname = null | |
$_mDummyObj = null | |
![]() | |
$db | |
Definition at line 102 of file tplfile.php.
delete | ( | & | $obj, |
$force = false ) |
Delete $obj.
$obj | ||
bool | $force |
Reimplemented from XoopsObjectGenericHandler.
Definition at line 160 of file tplfile.php.
& find | ( | $tplsetName, | |
$type = null, | |||
$refId = null, | |||
$module = null, | |||
$file = null ) |
This is a kind of getObjects(). Call getObjects() by 5 parameters and return the result. Parameters are guaranteed Type Safe because these are used by getObjects() for XoopsSimpleObject.
string | $tplsetName | |
string | $type | |
int | $refId | |
string | $module | |
string | $file |
Definition at line 206 of file tplfile.php.
& getObjectsWithOverride | ( | $criteria, | |
$tplset ) |
This method load objects of two template sets by $criteria. Then, build the return value from the objects of 'default', and set the objects of $tplset to object->mOverride.
$criteria | |
$tplset |
Definition at line 137 of file tplfile.php.
& getRecentModifyFile | ( | $limit = 10 | ) |
This is a kind of getObjects(). Return objects that were modified recently.
int | $limit |
Definition at line 180 of file tplfile.php.
insert | ( | & | $obj, |
$force = false ) |
Reimplemented from XoopsObjectGenericHandler.
Definition at line 108 of file tplfile.php.
$mClass = 'LegacyRenderTplfileObject' |
Definition at line 106 of file tplfile.php.
$mPrimary = 'tpl_id' |
Definition at line 105 of file tplfile.php.
$mTable = 'tplfile' |
Definition at line 104 of file tplfile.php.