AbstractView::output PHP Метод

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

Low level output function which append's to the parent object's template. For normal objects, you simply need to specify a suitable template.
public output ( string $txt )
$txt string HTML chunk
    public function output($txt)
    {
        if (!is_null($this->hook('output', array($txt)))) {
            if (isset($this->owner->template) && !empty($this->owner->template)) {
                $this->owner->template->append($this->spot, $txt, false);
            } elseif ($this->owner instanceof App_CLI) {
                echo $txt;
            }
        }
    }