%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/bbw/farmaci/kritik-portale/module/Backend/src/Backend/View/Helper/
Upload File :
Create Path :
Current File : /var/www/html/bbw/farmaci/kritik-portale/module/Backend/src/Backend/View/Helper/Title.php

<?php
namespace Backend\View\Helper;

use Zend\View\Helper\AbstractHelper;

/**
 * @package Backend
 * @author Cornelius Adams (conlabz GmbH) <cornelius.adams@conlabz.de>
 */
class Title extends AbstractHelper
{
    protected $template = 'backend/title';

    /**
     *
     * @param string $title
     * @param string $icon
     * @return string
     */
    public function __invoke($title, $icon = null, $headTitle = true)
    {
        if ($headTitle) {
            $this->getView()->headTitle()->prepend($headTitle);
        }
        return $this->getView()->partial($this->template, [
            'icon' => $icon,
            'title' => $title
        ]);
    }
}

Zerion Mini Shell 1.0