icon = PMA_Util::getImage('b_routines.png'); $this->links = array( 'text' => 'db_routines.php?server=' . $GLOBALS['server'] . '&db=%1$s&token=' . $GLOBALS['token'], 'icon' => 'db_routines.php?server=' . $GLOBALS['server'] . '&db=%1$s&token=' . $GLOBALS['token'], ); $this->real_name = 'functions'; $new = PMA_NodeFactory::getInstance('Node', _pgettext('Create new function', 'New')); $new->isNew = true; $new->icon = PMA_Util::getImage('b_routine_add.png', ''); $new->links = array( 'text' => 'db_routines.php?server=' . $GLOBALS['server'] . '&db=%2$s&token=' . $GLOBALS['token'] . '&add_item=1&item_type=FUNCTION', 'icon' => 'db_routines.php?server=' . $GLOBALS['server'] . '&db=%2$s&token=' . $GLOBALS['token'] . '&add_item=1&item_type=FUNCTION', ); $new->classes = 'new_function italics'; $this->addChild($new); } } ?>