[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/phing/tasks/ext/ -> CapsuleTask.php (sommaire)

(pas de description)

Poids: 478 lignes (16 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 2 classes

CapsuleTask:: (15 méthodes):
  setControlTemplate()
  getControlTemplate()
  setTemplatePath()
  getTemplatePath()
  setOutputDirectory()
  getOutputDirectory()
  setOutputFile()
  getOutputFile()
  setContextProperties()
  getContextProperties()
  createAssign()
  initControlContext()
  main()
  populateInitialContext()
  cleanup()

AssignedVar:: (4 méthodes):
  setName()
  setValue()
  getName()
  getValue()


Classe: CapsuleTask  - X-Ref

A phing task for generating output by using Capsule.

This is based on the interface to TexenTask from Apache's Velocity engine.

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.

param: string $outputFile (TODO: change this to File)
return: void

getOutputFile()   X-Ref
Get the output file for the
generation process.

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

createAssign()   X-Ref
Creates an "AssignedVar" class.


initControlContext()   X-Ref
Creates a Smarty object.

return: Smarty initialized (cleared) Smarty context.

main()   X-Ref
Execute the input script with Velocity


populateInitialContext(Capsule $context)   X-Ref
Place useful objects into the initial context.

param: Capsule $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

Classe: AssignedVar  - X-Ref

An "inner" class for holding assigned var values.
May be need to expand beyond name/value in the future.

setName($v)   X-Ref
Pas de description

setValue($v)   X-Ref
Pas de description

getName()   X-Ref
Pas de description

getValue()   X-Ref
Pas de description



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7