Permissiontemplates

Extends \CActiveRecord

This is the model class for table "{{permissiontemplates}}".

The followings are the available columns in table '{{permissiontemplates}}':

package

Default

Methods

applyToUser

applyToUser( $iUserId,  $ptid = null) 

Arguments

$iUserId

$ptid

clearUser

clearUser( $iUserId) 

Arguments

$iUserId

compileExportXML

compileExportXML() 

createFromXML

createFromXML( $xmlEntitiy,  $includeRootData = false) 

Arguments

$xmlEntitiy

$includeRootData

Gets the buttons for the GridView

getButtons() : string

Response

string

getColumns

getColumns() : array

Response

array

Collects and maps the connected userids to userobjects

getConnectedUserobjects() : array

Response

array

filled with usermodels

getDateFormat

getDateFormat() : string

Response

string

getFormattedDateCreated

getFormattedDateCreated() 

getFormattedDateModified

getFormattedDateModified() 

getHasPermission

getHasPermission( $sPermission,  $sCRUD) 

Arguments

$sPermission

$sCRUD

Returns the static model of the specified AR class.

model(string $className = __CLASS__) : \Permissiontemplates
static

Please note that you should have this exact method in all your CActiveRecord descendants!

Arguments

$className

string

active record class name.

Response

\Permissiontemplates

the static model class

relations

relations() : array

Response

array

relational rules.

removeCdataFormat

removeCdataFormat( $node) 

Arguments

$node

rules

rules() : array

Response

array

validation rules for model attributes.

tableName

tableName() : string

Response

string

the associated database table name

Properties

ptid

ptid : integer

Type(s)

integer

name

name : string

Type(s)

string

description

description : string

Type(s)

string

renewed_last

renewed_last : string

Type(s)

string

created_at

created_at : string

Type(s)

string

created_by

created_by : integer

Type(s)

integer