modules/auth/models/Permissions.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Auth_Model_Permissions

Package: Auth\Models
Auth_Model_Permissions
Parent(s)
\Zend_Db_Table_Abstract
Author
Alexander  
Version
$Id$  

Properties

>VPropertyprotected$_name = 'permissions'
Default value'permissions'Details
Type
n/a
>VPropertyprotected$_primary = 'id'
Default value'id'Details
Type
n/a
>VPropertyprotected$_referenceMap = array('Role' => array('columns' => 'id_role', 'refTableClass' => 'Roles', 'refColumns' => 'id'), 'Resource' => array('columns' => 'id_resource', 'refTableClass' => 'Resources', 'refColumns' => 'id'))
Default valuearray('Role' => array('columns' => 'id_role', 'refTableClass' => 'Roles', 'refColumns' => 'id'), 'Resource' => array('columns' => 'id_resource', 'refTableClass' => 'Resources', 'refColumns' => 'id'))Details
Type
n/a

Methods

methodpublicgetPermissions(integer $role) : array

Get user permissions

Parameters
NameTypeDescription
$roleinteger
Returns
TypeDescription
array
Documentation was generated by phpDocumentor 2.8.5.