Example #1
0
 public function didIBlockMyselfFromTheEditor()
 {
     $id = Zend_Auth::getInstance()->getIdentity()->id;
     if ($id != $this->id) {
         return false;
     }
     return !OpenSKOS_Db_Table_Users::isEditorAllowed($this->type, $this->role);
 }