This is a FileSet with the option to specify permissions.
Permissions are currently not implemented by PEAR Archive_Tar, but hopefully they will be in the future.
package |
phing.tasks.ext |
---|
__clone()
__construct( $fileset = null)
appendSelector(\FileSelector $selector) : \the
circularReference()
createAnd()
createContains()
createContainsRegexp()
createCustom()
createDate()
createDepend()
createDepth()
createExclude()
createExcludesFile()
createFilename()
createInclude()
createIncludesFile()
createMajority()
createNone()
createNot()
createOr()
createPatternSet()
createPresent()
createSelector()
createSize()
createType()
dieOnCircularReference( &$stk, \Project $p)
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.
\Project
getCheckedRef( $requiredClass, $dataTypeName)
getDescription()
getDirectoryScanner(\Project $p)
getFiles(\Project $p, $includeEmpty = true)
@return array a list of file and directory names, relative to the baseDir for the project.
\Project
getFullpath()
getGroup()
getMode()
getPrefix()
getPreserveLeadingSlashes()
getProject() : \Project
getRef(\Project $p)
getSelectors(\Project $p) : \an
getUserName()
hasPatterns() : boolean
boolean
Whether any patterns are in this container.
hasSelectors() : boolean
boolean
Whether any selectors are in this container
isReference()
log(string $msg, integer $level = \Project::MSG_INFO)
string
The message to be logged.
integer
The message's priority at this message should have
noChildrenAllowed()
parsingComplete() : void
selectorCount() : integer
integer
The number of selectors in this container
selectorElements() : array
array
The array of selectors
setCaseSensitive( $isCaseSensitive)
setDefaultexcludes( $useDefaultExcludes)
"true"|"on"|"yes" when default exclusions
should be used, "false"|"off"|"no" when they
shouldn't be used.
setDescription( $desc)
setDir( $dir)
setExcludes( $excludes)
setExcludesfile( $excl)
throws | |
---|---|
The file to fetch the exclude patterns from.
setExpandSymbolicLinks( $expandSymbolicLinks)
var | |
---|---|
setFullpath( $fullpath)
setGroup( $groupName)
setIncludes( $includes)
setIncludesfile( $incl)
throws | |
---|---|
The file to fetch the include patterns from.
setMode(string $octalString)
string
setPrefix( $prefix)
optional.
setPreserveLeadingSlashes( $b) : void
Optional, default is false
.
setProject(\Project $project)
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
setupDirectoryScanner(\DirectoryScanner $ds, \Project $p)
setUserName( $userName)
tooManyAttributes()
files :
mode :
userName :
groupName :
prefix :
fullpath :
preserveLeadingSlashes :
useDefaultExcludes : boolean
var |
---|
boolean
additionalPatterns :
dir :
isCaseSensitive :
selectors :
description :
ref :
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