| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 317 lignes (10 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Target:: (19 méthodes):
setProject()
getProject()
setDepends()
addDependency()
getDependencies()
setName()
getName()
addTask()
addDataType()
getTasks()
setIf()
setUnless()
setDescription()
getDescription()
toString()
main()
performTasks()
testIfCondition()
testUnlessCondition()
| setProject(Project $project) X-Ref |
| References the project to the current component. param: Project The reference to the current project |
| getProject() X-Ref |
| Returns reference to current project return: Project Reference to current porject object |
| setDepends($depends) X-Ref |
| Sets the target dependencies from xml param: string $depends Comma separated list of targetnames that depend on |
| addDependency($dependency) X-Ref |
| Adds a singular dependent target name to the list param: string The dependency target to add |
| getDependencies() X-Ref |
| Returns reference to indexed array of the dependencies this target has. return: array Referece to target dependencoes |
| setName($name) X-Ref |
| Sets the name of the target param: string Name of this target |
| getName() X-Ref |
| Returns name of this target. return: string The name of the target |
| addTask(Task $task) X-Ref |
| Adds a task element to the list of this targets child elements param: object The task object to add |
| addDataType($rtc) X-Ref |
| Adds a runtime configurable element to the list of this targets child elements. param: object The RuntimeConfigurabel object |
| getTasks() X-Ref |
| Returns an array of all tasks this target has as childrens. The task objects are copied here. Don't use this method to modify task objects. return: array Task[] |
| setIf($property) X-Ref |
| Set the if-condition from the XML tag, if any. The property name given as parameter must be present so the if condition evaluates to true param: string The property name that has to be present |
| setUnless($property) X-Ref |
| Set the unless-condition from the XML tag, if any. The property name given as parameter must be present so the unless condition evaluates to true param: string The property name that has to be present |
| setDescription($description) X-Ref |
| Sets a textual description of this target. param: string The description text |
| getDescription() X-Ref |
| Returns the description of this target. return: string The description text of this target |
| toString() X-Ref |
| Returns a string representation of this target. In our case it simply returns the target name field return: string The string representation of this target |
| main() X-Ref |
| The entry point for this class. Does some checking, then processes and performs the tasks for this target. |
| performTasks() X-Ref |
| Performs the tasks by calling the main method of this target that actually executes the tasks. This method is for ZE2 and used for proper exception handling of task exceptions. |
| testIfCondition() X-Ref |
| Tests if the property set in ifConfiditon exists. return: boolean <code>true</code> if the property specified |
| testUnlessCondition() X-Ref |
| Tests if the property set in unlessCondition exists. return: boolean <code>true</code> if the property specified |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |