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;
            }
        }
    }
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;
            }
        }
    }
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 ; } } }
Low level output function which append's to the parent object's
template. For normal objects, you simply need to specify a suitable
template.

@param string $txt HTML chunk
Low level output function which append s to the parent object s template . For normal objects you simply need to specify a suitable template .