[ 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/system/ -> UpToDateTask.php (sommaire)

(pas de description)

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

Définit 1 class

UpToDateTask:: (10 méthodes):
  setProperty()
  setValue()
  getValue()
  setTargetFile()
  setSrcfile()
  createSrcfiles()
  createMapper()
  evaluate()
  main()
  scanDir()


Classe: UpToDateTask  - X-Ref

Sets the given property if the specified target has a timestamp
greater than all of the source files.

setProperty($property)   X-Ref
The property to set if the target file is more up-to-date than
(each of) the source file(s).

param: property the name of the property to set if Target is up-to-date.

setValue($value)   X-Ref
The value to set the named property to if the target file is more
up-to-date than (each of) the source file(s). Defaults to 'true'.

param: value the value to set the property to if Target is up-to-date

getValue()   X-Ref
Returns the value, or "true" if a specific value wasn't provided.


setTargetFile($file)   X-Ref
The file which must be more up-to-date than (each of) the source file(s)
if the property is to be set.

param: file the file we are checking against.

setSrcfile($file)   X-Ref
The file that must be older than the target file
if the property is to be set.

param: file the file we are checking against the target file.

createSrcfiles()   X-Ref
Nested <srcfiles> element.


createMapper()   X-Ref
Defines the FileNameMapper to use (nested mapper element).


evaluate()   X-Ref
Evaluate (all) target and source file(s) to
see if the target(s) is/are up-to-date.

return: boolean

main()   X-Ref
Sets property to true if target file(s) have a more recent timestamp
than (each of) the corresponding source file(s).


scanDir(PhingFile $srcDir, $files)   X-Ref
Pas de description



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