CoreFiles by mySites.guru
String.php42 lines, 955 bytes, from Joomla_1.5.3-Stable-Full_Package.zip
Raw History Compare with 1.5.2
md5
6ce2b0c7ebb4631578408f84f872470d
sha1
0f6a6b3ebe803f1161e79daf50d7e9f1c259cc4c
sha256
8e42203093f2c51b4f7dc6a12efe79d148d401fc58997a2911f1689ca3466efd
<?PHP
/**
 * patTemplate Reader that reads from a string
 *
 * $Id: String.php 8287 2007-08-01 08:38:59Z eddieajau $
 *
 * @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 4 releases, Joomla 1.5.0 to 1.5.3. See them all, or every version of this file.