Controller\Node::Index PHP Method

Index() public method

public Index ( )
    public function Index()
    {
        $data['user'] = User::getCurrent();
        $data['nodes'] = MNode::getNodeArray(0);
        $data['nodeVip'] = MNode::getNodeArray(1);
        Template::setContext($data);
        Template::setView("panel/node");
    }