HCE Project DC service web UI
0.2
Hierarchical Cluster Engine DC service web UI
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
RAssignmentSitesDataProvider.php
Go to the documentation of this file.
1
<?php
2
3
class
RAssignmentSitesDataProvider
extends
CActiveDataProvider
4
{
8
private
$_authorizer
;
9
16
public
function
__construct
(
$config
= array())
17
{
18
$module =
Rights::module
();
19
$userClass = $module->userClass;
20
parent::__construct
($userClass,
$config
);
21
22
$this->_authorizer = $module->getAuthorizer();
23
}
24
30
protected
function
fetchData
()
31
{
32
$data
=
parent::fetchData
();
33
34
foreach
(
$data
as $model) {
35
$this->_authorizer->attachUserBehavior($model);
36
}
37
38
return
$data
;
39
}
40
}
app
protected
modules
rights
components
dataproviders
RAssignmentSitesDataProvider.php
Generated on Tue Jun 30 2015 20:12:35 for HCE Project DC service web UI by
1.8.1.2