public function renderToolTemplatesModalEditHandlerAction()
    {
        $melisKey = $this->params()->fromRoute('melisKey', '');

        // 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');

        $view = new ViewModel();
        $view->editModalHandler = $melisTool->getModal('meliscms_tool_template_edit_modal');
        $view->melisKey = $melisKey;

        return $view;
    }
public function renderToolTemplatesModalEditHandlerAction()
    {
        $melisKey = $this->params()->fromRoute('melisKey', '');

        // 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');

        $view = new ViewModel();
        $view->editModalHandler = $melisTool->getModal('meliscms_tool_template_edit_modal');
        $view->melisKey = $melisKey;

        return $view;
    }
public function renderToolTemplatesModalEditHandlerAction ( ) { $ melisKey = $ this -> params ( ) -> fromRoute ( 'melisKey' , '' ) ; // 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' ) ; $ view = new ViewModel ( ) ; $ view -> editModalHandler = $ melisTool -> getModal ( 'meliscms_tool_template_edit_modal' ) ; $ view -> melisKey = $ melisKey ; return $ view ; }
Renders the Update Tab and Content for the modal
@return \MelisCms\Controller\ViewModel
Renders the Update Tab and Content for the modal