PATH:
home
/
letacommog
/
letaweb
/
protected
/
modules
/
profile
/
modules
/
rbam
/
views
/
authAssignments
<?php /* SVN FILE: $Id: index.php 19 2011-02-17 15:12:45Z Chris $*/ /** * Users view. * * @copyright Copyright © 2010 PBM Web Development - All Rights Reserved * * @since V1.0.0 * * @version $Revision: 19 $ * * @license BSD License (see documentation) */ $baseUrl = $this->getModule()->baseScriptUrl; echo '<div class="view">'; $this->widget('rbam.extensions.alphapager.ApGridView', array( 'dataProvider' => $dataProvider, 'template' => "{alphapager}\n{summary}\n{items}\n{pager}", 'summaryText' => Yii::t('RbamModule.rbam', '{start}-{end} of {count} {items}', array('{items}' => Yii::t('RbamModule.rbam', 'users'))), 'columns' => array( array( 'name' => 'rbamName', 'type' => 'raw', 'value' => '$data->rbamName', 'header' => Yii::t('RbamModule.rbam', 'User'), 'headerHtmlOptions' => array('scope' => 'col'), 'htmlOptions' => array('class' => 'viewable'), ), array( 'type' => 'number', 'header' => Yii::t('RbamModule.rbam', 'Roles'), 'headerHtmlOptions' => array('scope' => 'col'), 'value' => '$this->grid->getOwner()->authManager->getRoleCount($data->'.$this->getModule()->userIdAttribute.')', 'htmlOptions' => array('class' => 'number'), ), array( 'class' => 'CButtonColumn', 'template' => '{view}{assign}', 'header' => Yii::t('RbamModule.rbam', 'Actions'), 'headerHtmlOptions' => array('scope' => 'col'), 'viewButtonUrl' => 'array("userRoles", "uid"=>$data->'.$this->getModule()->userIdAttribute.')', 'viewButtonOptions' => array('title' => Yii::t('RbamModule.rbam', 'View roles assigned to this user')), 'viewButtonImageUrl' => "$baseUrl/images/userView.png", 'buttons' => array( 'assign' => array( 'url' => 'array("assign", "uid"=>$data->'.$this->getModule()->userIdAttribute.')', 'options' => array('class' => 'assign', 'title' => Yii::t('RbamModule.rbam', 'Assign role(s) to this user')), 'imageUrl' => "$baseUrl/images/assignmentAdd.png", ), ), ), ), )); echo '</div>';
[+]
..
[-] assign.php
[edit]
[-] userRoles.php
[edit]
[-] roleUsers.php
[edit]
[-] index.php
[edit]