Content
@return ViewModel
186869
public function toolContentAction()
    {
        $translator = $this->getServiceLocator()->get('translator');


        $container = new Container('meliscore');
        $locale    = $container['melis-lang-locale'];
        $columns   = $this->tool()->getColumns();

        // pre-add Action Columns
        $columns['actions'] = array('text' => $translator->translate('tr_meliscore_global_action'), 'width' => '20%');

        $view                         = new ViewModel();
        $view->melisKey               = $this->getMelisKey();
        $view->tableColumns           = $columns;
        $view->getToolDataTableConfig = $this->tool()->getDataTableConfiguration('#tableToolProspectsTheme', true, false, array('order' => '[[ 0, "desc" ]]'));

        return $view;
    }
2699
public function toolModalCodeContainerAction()
    {
        $id = $this->params()->fromRoute('id', $this->params()->fromQuery('id', ''));

        $melisKey = $this->getMelisKey();

        $view = new ViewModel();
        $view->setTerminal(false);
        $view->melisKey = $melisKey;
        $view->id = $id;

        return $view;
    }
1060159
public function getContent() : ?string 
    {
        if ( ! $this->hasContent()) {
            $this->setContent($this->getDefaultContent());
        }
        return $this->content;
    }
802715
public function getContent() {
		if ($this->_content === null) {
			$this->_content = [];

			foreach ($this->_xml->children() as $element) {
				$this->_content[] = new static($element);
			}
		}
		
		return $this->_content;
	}
116785
public function getLayout()
    {
        if (! $this->layout) {
            $layout = new ViewModel();
            $layout->setTemplate('layout/layout');
            $this->layout = $layout;
        }

        return $this->layout;
    }
217994
public function getContent()
    {
        $content = $this->getRawContent();
        $content = apply_filters('the_content', $content);
        $content = str_replace( ']]>', ']]&gt;', $content);

        return $content;
    }
157075
public function content()
    {
        $path = '../App/' . $this->viewsDir . $this->view . '.phtml';
        if (file_exists($path)) {
            require $path;

        } else {
            die('No view file ' . $this->view . ' present in view directory.');
        }
    }
1292048
public function content()
    {
        if ($this->app->getMatchRoute()) {
            $actionName = strtolower(preg_replace('/(?<=\d)(?=[A-Za-z])|(?<=[A-Za-z])(?=\d)|(?<=[a-z])(?=[A-Z])/', '-', $this->app->getActionName()));

            $fileArray = [
                strtolower($this->app->getModuleName()),
                str_replace('controller', '', strtolower($this->app->getControllerName())),
                $actionName . '.phtml'
            ];

            $file = implode('/', $fileArray);
        } else {
            $viewManager = $this->config->get('view_manager');
            $file = $viewManager['template_map']['error/404'];
        }

        $this->render($file);
    }
826985
public function getContent()
    {
        return $this->getCachedProperty(
            'content',
            function () {
                $type = $this->getType();
                if ('text' === $type || 'html' === $type) {
                    return $this->getDomElement()->textContent;
                } elseif ('xhtml' === $type) {
                    /** @var \DOMElement $xhtml */
                    $xhtml = $this->query('xhtml:div', Node::SINGLE | Node::REQUIRED);

                    return Xhtml::extract($xhtml);
                } elseif ($this->isXmlMimeType($type)) {
                    /** @var \DOMElement $xml */
                    $xml = $this->query('*', Node::SINGLE | Node::REQUIRED);

                    return $this->getDomElement()->ownerDocument->saveXML($xml);
                } elseif (stripos($type, 'text/') === 0) {
                    return $this->getDomElement()->textContent;
                }

                return base64_decode($this->getDomElement()->textContent);
            }
        );
    }
1483
protected function getPanelGroup(): ?ContentModel
    {
        $group = ContentModel::findOneBy(
            [
                'tl_content.ptable=?',
                'tl_content.pid=?',
                '(tl_content.type = ? OR tl_content.type = ?)',
                'tl_content.sorting < ?',
            ],
            [
                $this->get('ptable'),
                $this->get('pid'),
                'bs_panel_group_start',
                'bs_panel_group_end',
                $this->get('sorting'),
            ],
            [
                'order' => 'tl_content.sorting DESC',
            ]
        );

        if ($group && $group->type === 'bs_panel_group_start') {
            return $group;
        }

        return null;
    }
375599
public function renderToolProspectsModalContainerAction() {
        
        $id = $this->params()->fromQuery('id');
        $view = new ViewModel();
        $melisKey = $this->params()->fromRoute('melisKey', '');
        $view->melisKey = $melisKey;
        $view->id = $id;
        $view->setTerminal(true);
        return $view;
    }
731131
public function menuAction()
    {
        $params     = $this->params();
        $navigation = $this->getServiceLocator()
                           ->get( 'Grid\Menu\Model\Menu\Model' )
                           ->findNavigation( $params->fromRoute( 'id' ) );

        $view = new ViewModel( array(
            'navigation' => $navigation,
        ) );

        $this->getResponse()
             ->getHeaders()
             ->addHeaderLine( 'Content-Type', 'application/xml' );

        return $view->setTerminal( true );
    }
527089
public function indexAction()
    {
        $isSubscribed = false;

        $entry = $this->getGameService()->checkExistingEntry($this->game, $this->user);
        if ($entry) {
            $isSubscribed = true;
        }

        $viewModel = $this->buildView($this->game);
        $viewModel->setVariables(array(
            'isSubscribed' => $isSubscribed,
        ));

        return $viewModel;
    }
883784
protected function renderHtmlTemplateContent()
    {
        $config = $this->config();

        $factory = $this->templateFactory();
        $factory->setDefaultClass($config['default_controller']);

        $controller = $factory->create($config['controller']);
        $controller->init($this->httpRequest());
        $controller['app_handler'] = $this;
        $controller->setData($this->getTemplateData());

        foreach ($config['partials'] as $varName => $templateIdent) {
            $this->view()->setDynamicTemplate($varName, $templateIdent);
        }

        return $this->view()->render($config['template'], $controller);
    }
222552
public function getContent()
    {
        if ( $this->_render_completed )
        {
            return $this->_content;
        }

        foreach ( $this->_view_levels as $view_level )
        {
            if ( $view_level["is_disabled"] )
            {
                continue;
            }

            $this->_view_levels[$view_level["name"]]["is_disabled"] = true;

            if ( $view_level["cache_enabled"] != false )
            {
                $this->getCacheContent( $view_level );
                return;
            }

            include( $this->_views_dir . $view_level["file_name"] . ".phtml" );
            return;
        }
    }
555167
protected function getContent()
    {
        $content = $this->session->has($this->instance)
            ? $this->session->get($this->instance)
            : new Collection;

        return $content;
    }
198854
function content()
    {
        if ( $this->Content === null )
        {
            $dataType = $this->dataType();
            if ( is_object( $dataType ) )
            {
                $this->Content = $dataType->objectAttributeContent( $this );
            }
        }
        return $this->Content;
    }