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