_aContentInfo) || !is_array($this->_aContentInfo)) return false; $sCheckFuncName = ''; switch ($a['name']) { case 'delete': case 'delete-with-content': if($this->_oModule->checkMyself($this->_iContentId)) return false; $sCheckFuncName = 'checkAllowedDelete'; break; } if(!$sCheckFuncName || !method_exists($this->_oModule, $sCheckFuncName)) return true; return $this->_oModule->{$sCheckFuncName}($this->_aContentInfo) === CHECK_ACTION_RESULT_ALLOWED; } } /** @} */