This is the model class for table "{{permissiontemplates}}".
The following are the available columns in table '{{permissiontemplates}}':
package | Default |
---|
applyToUser(integer $iUserId,integer $ptid = null): boolean
A user role is defined in table prefix_permissiontemplates. If user does not have the user role already, a new entry will be made in table prefix_user_in_permissionrole
integer
integer
Permissiontemplates id
boolean
clearUser(integer $iUserId): boolean
integer
boolean
compileExportXML(): \SimpleXMLElement
\SimpleXMLElement
createFromXML(\??? $xmlEntitiy,boolean $includeRootData = false): \Permissiontemplates|boolean
getButtons(): string
string
getColumns(): array
array
getConnectedUserobjects(): array
array
filled with usermodels
getDateFormat(): string
string
getFormattedDateCreated()
getFormattedDateModified(): string
string
getHasPermission(string $sPermission,string $sCRUD): boolean
string
string
boolean
model(string $className = __CLASS__): \Permissiontemplates
Please note that you should have this exact method in all your CActiveRecord descendants!
string
active record class name.
\Permissiontemplates
the static model class
relations(): array
array
relational rules.
removeCdataFormat(mixed $node): string
mixed
XML node?
string
rules(): array
array
validation rules for model attributes.
search(): \CActiveDataProvider
Typical usecase:
\CActiveDataProvider
the data provider that can return the models based on the search/filter conditions.
tableName(): string
string
the associated database table name
ptid :integer
integer
name :string
string
description :string
string
renewed_last :string
string
created_at :string
string
created_by :integer
integer