fix formatting

This commit is contained in:
monte.ohrt
2010-08-17 15:39:51 +00:00
parent ad921936b0
commit 21d507a5cb
97 changed files with 1357 additions and 1262 deletions
@@ -1,18 +1,18 @@
<?php
/**
* Smarty Internal Plugin Resource String
*
* Implements the strings as resource for Smarty template
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
* Smarty Internal Plugin Resource String
*
* Implements the strings as resource for Smarty template
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource String
*/
* Smarty Internal Plugin Resource String
*/
class Smarty_Internal_Resource_String {
public function __construct($smarty)
{
@@ -27,21 +27,21 @@ class Smarty_Internal_Resource_String {
public $isEvaluated = true;
/**
* Return flag if template source is existing
*
* @return boolean true
*/
* Return flag if template source is existing
*
* @return boolean true
*/
public function isExisting($template)
{
return true;
}
/**
* Get filepath to template source
*
* @param object $_template template object
* @return string return 'string' as template source is not a file
*/
* Get filepath to template source
*
* @param object $_template template object
* @return string return 'string' as template source is not a file
*/
public function getTemplateFilepath($_template)
{
// no filepath for strings
@@ -50,11 +50,11 @@ class Smarty_Internal_Resource_String {
}
/**
* Get timestamp to template source
*
* @param object $_template template object
* @return boolean false as string resources have no timestamp
*/
* Get timestamp to template source
*
* @param object $_template template object
* @return boolean false as string resources have no timestamp
*/
public function getTemplateTimestamp($_template)
{
// strings must always be compiled and have no timestamp
@@ -62,11 +62,11 @@ class Smarty_Internal_Resource_String {
}
/**
* Retuen template source from resource name
*
* @param object $_template template object
* @return string content of template source
*/
* Retuen template source from resource name
*
* @param object $_template template object
* @return string content of template source
*/
public function getTemplateSource($_template)
{
// return template string
@@ -75,11 +75,11 @@ class Smarty_Internal_Resource_String {
}
/**
* Get filepath to compiled template
*
* @param object $_template template object
* @return boolean return false as compiled template is not stored
*/
* Get filepath to compiled template
*
* @param object $_template template object
* @return boolean return false as compiled template is not stored
*/
public function getCompiledFilepath($_template)
{
// no filepath for strings
@@ -87,4 +87,4 @@ class Smarty_Internal_Resource_String {
}
}
?>
?>