icon = ['image' => 'b_routines', 'title' => __('Function')]; $this->links = [ 'text' => [ 'route' => '/database/routines', 'params' => ['item_type' => 'FUNCTION', 'edit_item' => 1, 'db' => null, 'item_name' => null], ], 'icon' => [ 'route' => '/database/routines', 'params' => ['item_type' => 'FUNCTION', 'execute_dialog' => 1, 'db' => null, 'item_name' => null], ], ]; $this->classes = 'function'; $this->urlParamName = 'item_name'; } /** * Returns the type of the item represented by the node. * * @return string type of the item */ protected function getItemType() { return 'function'; } }