Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | List of all members
RAuthItemParentDataProvider Class Reference
Inheritance diagram for RAuthItemParentDataProvider:
RAuthItemDataProvider

Public Member Functions

 __construct ($parent, $config=array())
 fetchData ()
- Public Member Functions inherited from RAuthItemDataProvider
 fetchKeys ()

Additional Inherited Members

- Public Attributes inherited from RAuthItemDataProvider
 $type
 $userId
 $parent
 $exclude = array()
 $items
 $sortable
- Protected Member Functions inherited from RAuthItemDataProvider
 processSortable ()
 calculateTotalItemCount ()

Detailed Description

Authorization item parent data provider class file.

Author
Christoffer Niska cnisk.nosp@m.a@li.nosp@m.ve.co.nosp@m.m
Since
0.9.10

Definition at line 9 of file RAuthItemParentDataProvider.php.

Constructor & Destructor Documentation

RAuthItemParentDataProvider::__construct (   $parent,
  $config = array() 
)

Constructs the data provider.

Parameters
string$parentthe data provider identifier.
array$configconfiguration (name=>value) to be applied as the initial property values of this class.
Returns

Reimplemented from RAuthItemDataProvider.

Definition at line 19 of file RAuthItemParentDataProvider.php.

{
$this->parent = $parent;
$this->setId($parent->name);
foreach ($config as $key => $value) {
$this->$key = $value;
}
}

Member Function Documentation

RAuthItemParentDataProvider::fetchData ( )

Fetches the data from the persistent data storage.

Returns
array list of data items

Reimplemented from RAuthItemDataProvider.

Definition at line 34 of file RAuthItemParentDataProvider.php.

References Rights\getAuthorizer().

{
$this->items = Rights::getAuthorizer()->getAuthItemParents($this->parent->name, $this->type, null, true);
}

The documentation for this class was generated from the following file: