XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
Legacy_AbstractCategoryObject Class Reference
Inheritance diagram for Legacy_AbstractCategoryObject:
Legacy_AbstractObject XoopsSimpleObject AbstractXoopsObject

Public Member Functions

 Legacy_AbstractCategoryObject ()
 
 __construct ()
 
 getPrimary ()
 
 getDataname ()
 
 getDepth ()
 
 checkPermitByUid (string $action, int $uid=0, string $module='')
 
 checkPermitByGroupid ( $action, $groupid=0, $module='')
 
 renderUri ($action=null)
 
- Public Member Functions inherited from Legacy_AbstractObject
 loadTable ( $table, $dirname=null)
 
 getImages ()
 
 getImageNumber ()
 
 setupImages ($isPost=true)
 
 loadTag ()
 
 onWorkflow ()
 
- Public Member Functions inherited from XoopsSimpleObject
 setNew ()
 
 unsetNew ()
 
 isNew ()
 
 initVar ($key, $dataType, $value=null, $required=false, $size=null)
 
 assignVar ($key, $value)
 
 assignVars ($values)
 
 set ($key, $value)
 
 get ($key)
 
 gets ()
 
 setVar ($key, $value)
 
 setVars ($values)
 
 getVar ($key)
 
 getShow ($key)
 
 getTypeInformations ()
 
 getPurifiedHtml ( $key, $encoding=null, $doctype=null)
 
 getDirname ()
 

Data Fields

const PRIMARY = 'cat_id'
 
const DATANAME = 'cat'
 
 $mChildren = []
 
- Data Fields inherited from Legacy_AbstractObject
 $mChildList = []
 
 $mParentList = []
 
 $mTable = []
 
 $mTag = []
 
 $mImage = []
 
- Data Fields inherited from XoopsSimpleObject
 $mVars = []
 
 $mIsNew = true
 
 $mDirname = null
 

Additional Inherited Members

- Protected Member Functions inherited from Legacy_AbstractObject
 _setupChildTables ()
 
- Protected Attributes inherited from Legacy_AbstractObject
 $_mMainTable = null
 
 $_mIsLoaded = []
 
 $_mIsTagLoaded = false
 

Detailed Description

Definition at line 19 of file AbstractCategoryObject.class.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

__construct

Parameters
void
Returns
void

Reimplemented from Legacy_AbstractObject.

Definition at line 30 of file AbstractCategoryObject.class.php.

Member Function Documentation

◆ checkPermitByGroupid()

checkPermitByGroupid ( $action,
$groupid = 0,
$module = '' )
abstract

checkPermitByGroupid

@params string $action @params int $groupid @params string $module

Parameters
$action
int$groupid
string$module
Returns
bool
Parameters
$action* string **
$groupid* int **
$module* string **

◆ checkPermitByUid()

checkPermitByUid ( string $action,
int $uid = 0,
string $module = '' )
abstract

checkPermitByUid

Parameters
string$action
int$uid
string$module
Returns
bool

◆ getDataname()

getDataname ( )

getDataname

Parameters
void
Returns
string

Reimplemented from Legacy_AbstractObject.

Definition at line 60 of file AbstractCategoryObject.class.php.

◆ getDepth()

getDepth ( )
abstract

getDepth

@params string $module

Returns
int

◆ getPrimary()

getPrimary ( )

getPrimary

Parameters
void
Returns
string

Reimplemented from Legacy_AbstractObject.

Definition at line 48 of file AbstractCategoryObject.class.php.

◆ Legacy_AbstractCategoryObject()

◆ renderUri()

renderUri ( $action = null)

renderUri

Parameters
string$action
Returns
string

Reimplemented from Legacy_AbstractObject.

Definition at line 105 of file AbstractCategoryObject.class.php.

Field Documentation

◆ $mChildren

$mChildren = []

Definition at line 23 of file AbstractCategoryObject.class.php.

◆ DATANAME

const DATANAME = 'cat'

Definition at line 22 of file AbstractCategoryObject.class.php.

◆ PRIMARY

const PRIMARY = 'cat_id'

Definition at line 21 of file AbstractCategoryObject.class.php.


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