Removing old documentation
[openemr.git] / phpmyadmin / libraries / navigation / Nodes / Node_Index.class.php
blob57f874884ca185f655497079fc5a51d6faa5190d
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 index node in the navigation tree
15 * @package PhpMyAdmin-Navigation
17 class Node_Index extends Node
19 /**
20 * Initialises the class
22 * @param string $name An identifier for the new node
23 * @param int $type Type of node, may be one of CONTAINER or OBJECT
24 * @param bool $is_group Whether this object has been created
25 * while grouping nodes
27 public function __construct($name, $type = Node::OBJECT, $is_group = false)
29 parent::__construct($name, $type, $is_group);
30 $this->icon = PMA_Util::getImage('b_index.png', __('Index'));
31 $this->links = array(
32 'text' => 'tbl_indexes.php?server=' . $GLOBALS['server']
33 . '&amp;db=%3$s&amp;table=%2$s&amp;index=%1$s'
34 . '&amp;token=' . $_SESSION[' PMA_token '],
35 'icon' => 'tbl_indexes.php?server=' . $GLOBALS['server']
36 . '&amp;db=%3$s&amp;table=%2$s&amp;index=%1$s'
37 . '&amp;token=' . $_SESSION[' PMA_token ']
39 $this->classes = 'index';