Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: patTemplate

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5
Source code for file /pattemplate/patTemplate/Reader/String.php

Documentation is available at String.php

  1. <?PHP
  2. /**
  3.  * patTemplate Reader that reads from a string
  4.  *
  5.  * $Id: String.php 181 2004-04-23 22:01:02Z schst $
  6.  *
  7.  * @package        patTemplate
  8.  * @subpackage    Readers
  9.  * @author        Stephan Schmidt <[email protected]>
  10.  */
  11.  
  12. // Check to ensure this file is within the rest of the framework
  13. defined('JPATH_BASE'or die();
  14.  
  15. /**
  16.  * patTemplate Reader that reads from a string
  17.  *
  18.  * @package        patTemplate
  19.  * @subpackage    Readers
  20.  * @author        Stephan Schmidt <[email protected]>
  21.  */
  22. {
  23.    /**
  24.     * Read templates from a string
  25.     *
  26.     * @final
  27.     * @access    public
  28.     * @param    string    string to parse
  29.     * @param    array    options, not implemented in current versions, but future versions will allow passing of options
  30.     * @return    array    templates
  31.     */
  32.     function readTemplates$input )
  33.     {
  34.         $this->_currentInput $input;
  35.  
  36.         $templates    =    $this->parseString$input );
  37.  
  38.         return    $templates;
  39.     }
  40. }
  41. ?>

Documentation generated on Mon, 05 Mar 2007 21:26:59 +0000 by phpDocumentor 1.3.1