| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 610 lignes (20 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
SmartyTask:: (25 méthodes):
init()
setControlTemplate()
getControlTemplate()
setTemplatePath()
getTemplatePath()
setOutputDirectory()
getOutputDirectory()
setOutputFile()
getOutputFile()
setCompilePath()
getCompilePath()
setForceCompile()
getForceCompile()
setConfigPath()
getConfigPath()
setLeftDelimiter()
getLeftDelimiter()
setRightDelimiter()
getRightDelimiter()
setContextProperties()
getContextProperties()
initControlContext()
main()
populateInitialContext()
cleanup()
Classe: SmartyTask - X-Ref
A phing task for generating output by using Smarty.| init() X-Ref |
| Pas de description |
| setControlTemplate($controlTemplate) X-Ref |
| [REQUIRED] Set the control template for the generating process. param: string $controlTemplate return: void |
| getControlTemplate() X-Ref |
| Get the control template for the generating process. return: string |
| setTemplatePath($templatePath) X-Ref |
| [REQUIRED] Set the path where Velocity will look for templates using the file template loader. return: void |
| getTemplatePath() X-Ref |
| Get the path where Velocity will look for templates using the file template loader. return: string |
| setOutputDirectory(PhingFile $outputDirectory) X-Ref |
| [REQUIRED] Set the output directory. It will be created if it doesn't exist. param: PhingFile $outputDirectory return: void |
| getOutputDirectory() X-Ref |
| Get the output directory. return: string |
| setOutputFile($outputFile) X-Ref |
| [REQUIRED] Set the output file for the generation process. return: void |
| getOutputFile() X-Ref |
| Get the output file for the generation process. return: string |
| setCompilePath($compilePath) X-Ref |
| Set the path Smarty uses as a "cache" for compiled templates. param: string $compilePath |
| getCompilePath() X-Ref |
| Get the path Smarty uses for compiling templates. return: string |
| setForceCompile($force) X-Ref |
| Set whether Smarty should always recompile tempaltes. param: boolean $force return: void |
| getForceCompile() X-Ref |
| Get whether Smarty should always recompile template. return: boolean |
| setConfigPath($configPath) X-Ref |
| Set where Smarty looks for config files. param: string $configPath return: void |
| getConfigPath() X-Ref |
| Get the path that Smarty uses for looking for config files. return: string |
| setLeftDelimiter($delim) X-Ref |
| Set Smarty template left delimiter. param: string $delim return: void |
| getLeftDelimiter() X-Ref |
| Get Smarty template right delimiter return: string |
| setRightDelimiter($delim) X-Ref |
| Set Smarty template right delimiter. param: string $delim return: void |
| getRightDelimiter() X-Ref |
| Get Smarty template right delimiter return: string |
| setContextProperties($file) X-Ref |
| Set the context properties that will be fed into the initial context be the generating process starts. param: string $file return: void |
| getContextProperties() X-Ref |
| Get the context properties that will be fed into the initial context be the generating process starts. return: Properties |
| initControlContext() X-Ref |
| Creates a Smarty object. return: Smarty initialized (cleared) Smarty context. |
| main() X-Ref |
| Execute the input script with Velocity |
| populateInitialContext(Smarty $context) X-Ref |
| <p>Place useful objects into the initial context.</p> <p>TexenTask places <code>Date().toString()</code> into the context as <code>$now</code>. Subclasses who want to vary the objects in the context should override this method.</p> <p><code>$generator</code> is not put into the context in this method.</p> param: context The context to populate, as retrieved from return: void |
| cleanup() X-Ref |
| A hook method called at the end of {@link #execute()} which can be overridden to perform any necessary cleanup activities (such as the release of database connections, etc.). By default, does nothing. return: void |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |