/** * Return the icon for the given node. * @param PROJECT $node Draw the title for this project. * @return string */ public function get_icon_url($node) { if ($node->defines_options()) { return '{icons}buttons/edit'; } return parent::get_icon_url($node); }
/** * Return the icon for the given node. * @param PROJECT $node Draw the title for this project. * @return string */ public function get_icon_url($node) { if ($node->defines_security()) { return '{icons}buttons/security'; } return parent::get_icon_url($node); }