function is_owner($person = "") { $project = new project(); $project->set_id($this->get_value("projectID")); $project->select(); return $project->is_owner($person); }
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); } }