Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / phpmyadmin / libraries / navigation / Nodes / Node_Index_Container.class.php
blob732dfddf337507068486e4738c96506e81f986d1
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Functionality for the navigation tree
6 * @package PhpMyAdmin-Navigation
7 */
8 if (! defined('PHPMYADMIN')) {
9 exit;
12 /**
13 * Represents a container for index nodes in the navigation tree
15 * @package PhpMyAdmin-Navigation
17 class Node_Index_Container extends Node
19 /**
20 * Initialises the class
22 * @return Node_Index_Container
24 public function __construct()
26 parent::__construct(__('Indexes'), Node::CONTAINER);
27 $this->icon = PMA_Util::getImage('b_index.png', '');
28 $this->links = array(
29 'text' => 'tbl_structure.php?server=' . $GLOBALS['server']
30 . '&amp;db=%2$s&amp;table=%1$s'
31 . '&amp;token=' . $GLOBALS['token'],
32 'icon' => 'tbl_structure.php?server=' . $GLOBALS['server']
33 . '&amp;db=%2$s&amp;table=%1$s'
34 . '&amp;token=' . $GLOBALS['token'],
36 $this->real_name = 'indexes';
38 $new = PMA_NodeFactory::getInstance('Node', _pgettext('Create new index', 'New'));
39 $new->isNew = true;
40 $new->icon = PMA_Util::getImage('b_index_add.png', '');
41 $new->links = array(
42 'text' => 'tbl_indexes.php?server=' . $GLOBALS['server']
43 . '&amp;create_index=1&amp;added_fields=2'
44 . '&amp;db=%3$s&amp;table=%2$s&amp;token=' . $GLOBALS['token'],
45 'icon' => 'tbl_indexes.php?server=' . $GLOBALS['server']
46 . '&amp;create_index=1&amp;added_fields=2'
47 . '&amp;db=%3$s&amp;table=%2$s&amp;token=' . $GLOBALS['token'],
49 $new->classes = 'new_index italics';
50 $this->addChild($new);