Example #1
0
require_once('includes/SI_TaskPriority.php');

checkLogin("admin");

$project_status = new SI_ProjectStatus();
$project_statuses = $project_status->retrieveSet();
if($project_statuses === FALSE){
	$error_msg .= "Error getting project statuses!\n";
	debug_message($project_status->getLastError());
}

$project_priority = new SI_ProjectPriority();
$project_prioirities = SI_ProjectPriority::retrieveSet();
if($project_prioirities === FALSE){
	$error_msg .= "Error getting project priorities!\n";
	debug_message($project_priority->getLastError());
}

$task_priority = new SI_TaskPriority();
$task_prioirities = $task_priority->retrieveSet();
if($task_prioirities === FALSE){
	$error_msg .= "Error getting list of task priorities!\n";
	debug_message($task_priority->getLastError());
}

$task_status = new SI_TaskStatus();
$task_statuses = SI_TaskStatus::retrieveSet();
if($task_statuses === FALSE){
	$error_msg .= "Error getting task statuses!\n";
	debug_message($task_status->getLastError());
}