[ Index ]

PHP Cross Reference of ACL Module

title

Body

[close]

/models/ -> Permission.php (summary)

(no description)

File Size: 120 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Permission:: (7 methods):
  model()
  tableName()
  rules()
  relations()
  attributeLabels()
  search()
  __clone()


Class: Permission  - X-Ref

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

Permissions are the link between Access Control Objects, Access Request Objects
and Actions. Permission define who can perform what on whom.
Permissions (currently) work only positively, so if you deny rights you take
back already granted rights, but you don't explicitely deny rights.

Especially if a user has a permission perform something on a specific object
because he is the child of a class which has the permission, denying the
permission to the user will _not_ affect the permissions of the group.

model($className=__CLASS__)   X-Ref
Returns the static model of the specified AR class.

param: string $className active record class name.
return: Permission the static model class

tableName()   X-Ref

return: string the associated database table name

rules()   X-Ref

return: array validation rules for model attributes.

relations()   X-Ref

return: array relational rules.

attributeLabels()   X-Ref

return: array customized attribute labels (name=>label)

search()   X-Ref
Retrieves a list of models based on the current search/filter conditions.

return: CActiveDataProvider the data provider that can return the models based on the search/filter conditions.

__clone()   X-Ref
Clones the object - resets the ID so that it is in fact a new object
in the database also




Generated: Sun Jul 1 19:24:45 2012 Cross-referenced by PHPXref 0.7.1