function is_owner($person = "")
 {
     $project = new project();
     $project->set_id($this->get_value("projectID"));
     $project->select();
     return $project->is_owner($person);
 }
Beispiel #2
0
 function is_owner($person = "")
 {
     if (!$this->get_id()) {
         return true;
     } else {
         $project = new project();
         $project->set_id($this->get_value("projectID"));
         $project->select();
         return $project->is_owner($person);
     }
 }