public function renderToolStyleHeaderAction()
    {
        // declare the Tool service that we will be using to completely create our tool.
        $melisTool = $this->getServiceLocator()->get('MelisCoreTool');

        // tell the Tool what configuration in the app.tool.php that will be used.
        $melisTool->setMelisToolKey('meliscms', 'meliscms_tool_templates');

        $melisKey = $this->params()->fromRoute('melisKey', '');
        $zoneConfig = $this->params()->fromRoute('zoneconfig', array());

        $view = new ViewModel();
        $view->melisKey = $melisKey;
        $view->title = $melisTool->getTitle();;

        return $view;
    }
public function renderToolStyleHeaderAction()
    {
        // declare the Tool service that we will be using to completely create our tool.
        $melisTool = $this->getServiceLocator()->get('MelisCoreTool');

        // tell the Tool what configuration in the app.tool.php that will be used.
        $melisTool->setMelisToolKey('meliscms', 'meliscms_tool_templates');

        $melisKey = $this->params()->fromRoute('melisKey', '');
        $zoneConfig = $this->params()->fromRoute('zoneconfig', array());

        $view = new ViewModel();
        $view->melisKey = $melisKey;
        $view->title = $melisTool->getTitle();;

        return $view;
    }
public function renderToolStyleHeaderAction ( ) { // declare the Tool service that we will be using to completely create our tool. $ melisTool = $ this -> getServiceLocator ( ) -> get ( 'MelisCoreTool' ) ; // tell the Tool what configuration in the app.tool.php that will be used. $ melisTool -> setMelisToolKey ( 'meliscms' , 'meliscms_tool_templates' ) ; $ melisKey = $ this -> params ( ) -> fromRoute ( 'melisKey' , '' ) ; $ zoneConfig = $ this -> params ( ) -> fromRoute ( 'zoneconfig' , array ( ) ) ; $ view = new ViewModel ( ) ; $ view -> melisKey = $ melisKey ; $ view -> title = $ melisTool -> getTitle ( ) ; ; return $ view ; }
This is where you place your buttons for the tools
@return \Zend\View\Model\ViewModel
This is where you place your buttons for the tools