HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
RUserBehavior Class Reference

Public Member Functions

 getId ()
 getName ()
 getAssignmentNameLink ()
 getAssignmentsText ($type)
 getAssignments ()

Public Attributes

 $idColumn
 $nameColumn

Private Attributes

 $_assignments

Detailed Description

Rights user behavior class file.

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

Definition at line 10 of file RUserBehavior.php.

Member Function Documentation

RUserBehavior::getAssignmentNameLink ( )

Returns a link labeled with the username pointing to the users assignments.

Returns
string the link markup.

Definition at line 58 of file RUserBehavior.php.

RUserBehavior::getAssignments ( )

Returns the authorization items assigned to the user.

Returns
string the assignments markup.

Definition at line 91 of file RUserBehavior.php.

Here is the call graph for this function:

RUserBehavior::getAssignmentsText (   $type)

Returns a string with names of the authorization items of the given type that are assigned to this user.

Parameters
integer$typethe item type (0: operation, 1: task, 2: role).
Returns
mixed the assigned items.

Definition at line 71 of file RUserBehavior.php.

RUserBehavior::getId ( )

Returns the value of the owner's id column. Attribute name is retrived from the module configuration.

Returns
string the id.

Definition at line 29 of file RUserBehavior.php.

Here is the call graph for this function:

RUserBehavior::getName ( )

Returns the value of the owner's name column. Attribute name is retrived from the module configuration.

Returns
string the name.

Definition at line 44 of file RUserBehavior.php.

Here is the call graph for this function:

Member Data Documentation

RUserBehavior::$_assignments
private

Definition at line 21 of file RUserBehavior.php.

RUserBehavior::$idColumn

Definition at line 15 of file RUserBehavior.php.

RUserBehavior::$nameColumn

Definition at line 19 of file RUserBehavior.php.


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