FOF30\View\DataView\Json::display PHP Метод

display() публичный Метод

Instead of loadTemplate is uses loadAnyTemplate.
public display ( string $tpl = null ) : boolean
$tpl string The name of the template file to parse
Результат boolean True on success
    public function display($tpl = null)
    {
        $eventName = 'onBefore' . ucfirst($this->doTask);
        $this->triggerEvent($eventName, array($tpl));
        $eventName = 'onAfter' . ucfirst($this->doTask);
        $this->triggerEvent($eventName, array($tpl));
        return true;
    }