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(null $fileset = null)
null
appendSelector(\FileSelector $selector) : void
circularReference() : \BuildException
createAnd() : \AndSelector
createContains()
createContainsRegexp()
createCustom()
createDate()
createDepend()
createDepth()
createDifferent()
createExclude()
createExcludesFile()
createFilename()
createInclude()
createIncludesFile()
createMajority()
createNone()
createNot()
createOr() : \OrSelector
createPatternSet() : mixed
throws | |
---|---|
mixed
createPresent()
createReadable()
createSelector() : \SelectSelector
createSize()
createType()
createWritable()
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 |
---|---|
getDirectoryScanner(\Project $p) : \DirectoryScanner
getFiles(\Project $p, boolean $includeEmpty = true) : array
throws |
---|
\Project
boolean
array
a list of file and directory names, relative to the baseDir for the project.
getFullpath() : string
string
getGroup() : string
string
getMode() : integer
integer
getPrefix() : string
string
getPreserveLeadingSlashes() : boolean
boolean
getProject() : \Project
getRef(\Project $p) : \FileSet
getSelectors(\Project $p) : array
getUserName() : string
string
hasPatterns() : boolean
boolean
Whether any patterns are in this container.
hasSelectors() : boolean
boolean
Whether any selectors are in this container
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}
pushAndInvokeCircularReferenceCheck(\DataType $dt, &$stk, \Project $p)
selectorCount() : integer
throws | |
---|---|
integer
The number of selectors in this container
selectorElements() : array
array
The array of selectors
setCaseSensitive( $isCaseSensitive)
setDefaultexcludes( $useDefaultExcludes) : void
throws |
---|
"true"|"on"|"yes" when default exclusions should be used, "false"|"off"|"no" when they shouldn't be used.
setDescription(string $desc) : void
string
setDir( $dir)
throws | |
---|---|
setExcludes( $excludes)
throws | |
---|---|
setExcludesfile( $excl)
throws | |
---|---|
The file to fetch the exclude patterns from.
setExpandSymbolicLinks( $expandSymbolicLinks)
var | |
---|---|
setFullpath( $fullpath)
setGroup( $groupName)
setIncludes( $includes)
throws | |
---|---|
setIncludesfile(\PhingFile $incl)
setMode(string $octalString)
string
setPrefix(boolean $prefix)
optional.
boolean
setPreserveLeadingSlashes(boolean $b) : void
Optional, default is false
.
boolean
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
setupDirectoryScanner(\DirectoryScanner $ds, \Project $p)
setUserName( $userName)
tooManyAttributes() : \BuildException
files :
mode :
userName :
groupName :
prefix :
fullpath :
preserveLeadingSlashes :
useDefaultExcludes : boolean
var |
---|
boolean
additionalPatterns :
dir :
isCaseSensitive :
selectors :
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