FileList represents an explicitly named list of files. FileLists are useful when you want to capture a list of files regardless of whether they currently exist.
<filelist id="docfiles" dir="${phing.docs.dir}" files="chapters/Installation.html,chapters/Setup.html"/>
OR
<filelist
dir="${doc.src.dir}"
listfile="${phing.docs.dir}/PhingGuide.book"/>
(or a mixture of files="" and listfile="" can be used)
author |
Hans Lellelid hans@xmpl.org |
---|---|
version |
$Id: b578f5cdbe1b9022fae4187fe18769f1558a8a4e $ |
package |
phing.types |
circularReference() : \BuildException
dieOnCircularReference( &$stk, \Project $p) : void
If one is included, throw a BuildException created by circularReference
This implementation is appropriate only for a DataType that cannot hold other DataTypes as children.
The general contract of this method is that it shouldn't do anything if checked is true and set it to true on exit.
throws |
---|
\Project
getCheckedRef( $requiredClass, $dataTypeName) : mixed
throws |
---|
mixed
getDescription()
retujrn |
string |
---|---|
getDir(\Project $p) : \PhingFile
getFiles(\Project $p) : array
getListFile(\Project $p) : \PhingFile
getProject() : \Project
getRef(\Project $p) : \FileList
isReference() : boolean
boolean
log(string $msg, integer $level = \Project::MSG_INFO) : void
string
The message to be logged.
integer
The message's priority at this message should have
noChildrenAllowed() : \BuildException
parsingComplete() : void
{@inheritdoc}
readListFile(\Project $p)
setDescription(string $desc) : void
string
setFiles(array $filenames)
throws | |
---|---|
array
setListFile(string $file)
throws | |
---|---|
string
setProject(\Project $project) : void
setRefid(\Reference $r) : void
Subclasses may need to check whether any other attributes have been set as well or child elements have been created and thus override this method. if they do they must call parent::setRefid()
\Reference
tooManyAttributes() : \BuildException
filenames :
dir :
listfile : \PhingFile
description : string
var |
---|
string
checked : boolean
Subclasses are responsible for setting this value to false if we'd need to investigate this condition (usually because a child element has been added that is a subclass of DataType).
var |
---|
boolean
project : \Project