Your IP : 216.73.216.240
<?php
namespace Nextend\SmartSlider3\Application\Admin\Layout;
use Nextend\Framework\View\AbstractLayout;
use Nextend\SmartSlider3\Application\Admin\Layout\Block\Core\AdminError\BlockAdminError;
class LayoutError extends AbstractLayout {
protected $title, $content, $url = '';
/**
* Override to prevent backend JS load
*/
protected function enqueueAssets() {
}
public function setError($title, $content, $url = '') {
$this->title = $title;
$this->content = $content;
$this->url = $url;
}
public function render() {
$adminError = new BlockAdminError($this);
$adminError->setLayout($this);
$adminError->setError($this->title, $this->content, $this->url);
$adminError->display();
}
}