PHP Class PMA\libraries\navigation\nodes\NodeView

Inheritance: extends NodeDatabaseChild
Show file Open project: phpmyadmin/phpmyadmin

Public Methods

Method Description
__construct ( string $name, integer $type = Node::OBJECT, boolean $is_group = false ) Initialises the class

Protected Methods

Method Description
getItemType ( ) : string Returns the type of the item represented by the node.

Method Details

__construct() public method

Initialises the class
public __construct ( string $name, integer $type = Node::OBJECT, boolean $is_group = false )
$name string An identifier for the new node
$type integer Type of node, may be one of CONTAINER or OBJECT
$is_group boolean Whether this object has been created while grouping nodes

getItemType() protected method

Returns the type of the item represented by the node.
protected getItemType ( ) : string
return string type of the item