Source for file copy.tag.php

Documentation is available at copy.tag.php

  1. <?php
  2. /**
  3.  * class lmbMacroCopyTag.
  4.  * @tag copy
  5.  * @req_attributes into
  6.  * @restrict_self_nesting
  7.  */
  8. class lmbMacroCopyTag extends lmbMacroTag
  9. {
  10.   protected function _generateContent($code)
  11.   {
  12.     $code->writePHP("ob_start();\n");
  13.     parent :: _generateContent($code);
  14.     $code->writePHP($this->get('into'" = ob_get_contents();\n");
  15.     $code->writePHP("ob_end_flush();\n");
  16.   }
  17. }

Documentation generated on Wed, 07 Jan 2009 03:46:07 +0300 by phpDocumentor 1.3.2