Public Member Functions

qaos Class Reference

Inheritance diagram for qaos:
module

Public Member Functions

 getHtml ($gotuid, $gotmoduleComponentId, $gotaction)
 actionView ()
 actionQaosadmin ()
 actionEdit ($moduleComponentId)
 getSuggestions ($pattern, $patternType= 'username')
 getTeamId ($userId)
 getDesignationId ($userId)
 getDesignationPriority ($designationId)
 getUnitId ($teamId, $designationId)
 getUnitIdFromUserId ($userId)
 getDesignationIdFromDesignationName ($designation)
 getDesignationNameFromDesignationId ($designationId)
 getTeamIdFromTeamName ($teamName)
 getTeamNameFromTeamId ($teamId)
 addQaosTeamMember ($userId, $qaosTeam1, $qaosTeam2, $qaosTeam3, $qaosTeam4)
 addTeamMember ($email, $designation, $team, $newparentTeam, $newparentDesignation)
 generateTree ($moduleComponentId, $score)
 getNodeHtml ($unitId, $score)
 createModule (&$moduleComponentId)
 actionScore ($moduleComponentId)
 deleteModule ($moduleComponentId)
 copyModule ($moduleComponentId)

Detailed Description

Qaos - This module lets you create an organisational tree structure for your organisation and rate people on certail parameters. You can have a parent-child relationship which can be defined by the admin user. A demonstration of this can be seen at http://www.pragyan.org/08/home/qaos/

Features of this module

1. A proper tree structure of your organisation can be created with any number of levels. There are no restrictions on the number of levels which can occur for any member starting from the root.

2. It lets you rate the members of your organisation depending upon certail parameters which can be changed depending upon the needs of the admin user.

TODO : To make the structure more generic and to write the code for copy and delete of this module.

Actions: Create Edit View Copy Delete Score

Create : Create a new module of Qaos. View : displays the tree structure of the organisation Edit : Add members to the tree depending upon your permissions and admin can add members in any team of the organisation. Score: Score people of your team and

Definition at line 41 of file qaos.lib.php.


Member Function Documentation

actionEdit ( moduleComponentId  ) 

Definition at line 160 of file qaos.lib.php.

actionQaosadmin (  ) 

Definition at line 68 of file qaos.lib.php.

actionScore ( moduleComponentId  ) 

Definition at line 989 of file qaos.lib.php.

actionView (  ) 

Reimplemented from module.

Definition at line 64 of file qaos.lib.php.

addQaosTeamMember ( userId,
qaosTeam1,
qaosTeam2,
qaosTeam3,
qaosTeam4 
)

Definition at line 665 of file qaos.lib.php.

addTeamMember ( email,
designation,
team,
newparentTeam,
newparentDesignation 
)

Get the unit id, the team id and the designation id and the designation priority of the parent.

Check whether the parent has authority to create the child entry in the specified team. In case of a manager and other lower members of the team, they wont be allowed to enter any other member in their team. The core team has rights to add anyone in any team. So checks will be either of these 1. same team 2. check for designation priority, if there is anyone above the manager level, give him rights to add anyone in any team.

Definition at line 780 of file qaos.lib.php.

copyModule ( moduleComponentId  ) 

Reimplemented from module.

Definition at line 1337 of file qaos.lib.php.

createModule ( &$  moduleComponentId  ) 

Reimplemented from module.

Definition at line 974 of file qaos.lib.php.

deleteModule ( moduleComponentId  ) 

Reimplemented from module.

Definition at line 1335 of file qaos.lib.php.

generateTree ( moduleComponentId,
score 
)

Definition at line 869 of file qaos.lib.php.

getDesignationId ( userId  ) 

Definition at line 608 of file qaos.lib.php.

getDesignationIdFromDesignationName ( designation  ) 

Definition at line 637 of file qaos.lib.php.

getDesignationNameFromDesignationId ( designationId  ) 

Definition at line 644 of file qaos.lib.php.

getDesignationPriority ( designationId  ) 

Definition at line 615 of file qaos.lib.php.

getHtml ( gotuid,
gotmoduleComponentId,
gotaction 
)

Reimplemented from module.

Definition at line 45 of file qaos.lib.php.

getNodeHtml ( unitId,
score 
)

Definition at line 906 of file qaos.lib.php.

getSuggestions ( pattern,
patternType = 'username' 
)

Definition at line 577 of file qaos.lib.php.

getTeamId ( userId  ) 

Definition at line 601 of file qaos.lib.php.

getTeamIdFromTeamName ( teamName  ) 

Definition at line 651 of file qaos.lib.php.

getTeamNameFromTeamId ( teamId  ) 

Definition at line 658 of file qaos.lib.php.

getUnitId ( teamId,
designationId 
)

Definition at line 622 of file qaos.lib.php.

getUnitIdFromUserId ( userId  ) 

Definition at line 629 of file qaos.lib.php.


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