UserInPermissionrole

Extends\CActiveRecord

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

The following are the available columns in table '{{user_in_permissionrole}}':

package

Default

Methods

attributeLabels

attributeLabels(): array

Response

array

customized attribute labels (name=>label)

getRoleForUser

getRoleForUser( $userId, $single = false)

Arguments

$userId

$single

Returns the static model of the specified AR class.

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

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

Arguments

$className

string

active record class name.

Response

\UserInPermissionrole

the static model class

relations

relations(): array

Response

array

relational rules.

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

uid

uid :integer

Type(s)

integer