Progress 11 for the dashboards

This commit is contained in:
Julio Cesar Laura
2011-10-31 18:27:10 -04:00
parent b0b62c523d
commit 280e2a89cb
2 changed files with 29 additions and 2 deletions

View File

@@ -108,13 +108,17 @@ class PMDashlet extends DashletInstance implements DashletInterface {
public function getDashletsInstancesForUser($userUid) {
try {
// Include required classes
//
require_once 'classes/mode/Department.php'
// Check for "public" dashlets
// ToDo: Next release
// Check for the direct assignments
// ToDo: Next release
// Check for department assigments
//
$departmentInstance = new Department();
$departments = $departmentInstance->getDepartmentsForUser($userUid);
foreach ($departments as $department) {
//
}
// Check for group assignments
// ToDo: Next release
// Check for role assigments