uawdijnntqw1x1x1
IP : 216.73.217.24
Hostname : webm007.cluster114.gra.hosting.ovh.net
Kernel : Linux webm007.cluster114.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
locationbo
/
www
/
libraries
/
smartslider3
/
src
/
.
/
.
/
.
/
Framework
/
View
/
AbstractLayout.php
/
/
<?php namespace Nextend\Framework\View; use Nextend\Framework\Pattern\GetPathTrait; use Nextend\Framework\Pattern\MVCHelperTrait; use Nextend\Framework\Sanitize; abstract class AbstractLayout { use GetPathTrait; use MVCHelperTrait; /** @var AbstractView */ protected $view; /** * @var AbstractBlock[]|string[]|array[] */ protected $contentBlocks = array(); protected $state = array(); /** * AbstractLayout constructor. * * @param AbstractView $view * */ public function __construct($view) { $this->view = $view; $this->setMVCHelper($view); $this->getApplicationType() ->setLayout($this); $this->enqueueAssets(); } protected function enqueueAssets() { $this->getApplicationType() ->enqueueAssets(); } /** * @param string $html contains already escaped data */ public function addContent($html) { $this->contentBlocks[] = $html; } /** * @param AbstractBlock $block contains already escaped data */ public function addContentBlock($block) { $this->contentBlocks[] = $block; } public function displayContent() { foreach ($this->contentBlocks as $content) { if (is_string($content)) { // PHPCS - Content already escaped echo $content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } else if (is_array($content)) { // PHPCS - Content already escaped echo call_user_func_array($content[0], $content[1]); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } else { $content->display(); } } } public function setState($name, $value) { $this->state[$name] = $value; } public abstract function render(); }
/home/locationbo/www/libraries/smartslider3/src/./././Framework/View/AbstractLayout.php