CoreFiles by mySites.guru
String.php42 lines, 915 bytes, from Joomla_1.5.26-Stable-Full_Package.zip
Raw History Compare with 1.5.25
md5
48e40c877fd6763a5a1639b36e3c7d6b
sha1
1aeb5b9bf5f8f424d88fd39a4a7e07d4d07deff2
sha256
f020960b78da09226a182823096c55e159572e62943adf77cd153cfadc10eb69
<?PHP
/**
 * patTemplate Reader that reads from a string
 *
 * $Id: String.php 10381 2008-06-01 03:35:53Z pasamio $
 *
 * @package		patTemplate
 * @subpackage	Readers
 * @author		Stephan Schmidt <[email protected]>
 */

// Check to ensure this file is within the rest of the framework
defined('JPATH_BASE') or die();

/**
 * patTemplate Reader that reads from a string
 *
 * @package		patTemplate
 * @subpackage	Readers
 * @author		Stephan Schmidt <[email protected]>
 */
class patTemplate_Reader_String extends patTemplate_Reader
{
	/**
	* Read templates from a string
	*
	* @final
	* @access	public
	* @param	string	string to parse
	* @param	array	options, not implemented in current versions, but future versions will allow passing of options
	* @return	array	templates
	*/
	function readTemplates( $input )
	{
		$this->_currentInput = $input;

		$templates	=	$this->parseString( $input );

		return	$templates;
	}
}
?>

The same content is in 23 releases, Joomla 1.5.4 to 1.5.26. See them all, or every version of this file.