/** * @see parent::canDeleteEx() */ function canDeleteEx() { if (!$this->canEdit() || !$this->_ref_module->canAdmin()) { return false; } return parent::canDeleteEx(); }