PHP 클래스 AbstractFileSet, symfony-1.4

TODO: - merge this with patternsets: FileSet extends PatternSet !!! requires additional mods to the parsing algo [HL] .... not sure if that really makes so much sense. I think that perhaps they should use common utility class if there really is that much shared functionality
또한 보기: ProjectComponent
저자: Andreas Aderhold ([email protected])
저자: Hans Lellelid ([email protected])
상속: extends DataType, implements SelectorContainer
파일 보기 프로젝트 열기: vjousse/symfony-1.4 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$additionalPatterns
$defaultPatterns PatternSet
$dir
$isCaseSensitive
$selectors
$useDefaultExcludes boolean

공개 메소드들

메소드 설명
__construct ( $fileset = null )
appendSelector ( FileSelector $selector ) Add a new selector into this container.
createAnd ( ) add an "And" selector entry on the selector list
createContains ( ) add a contains selector entry on the selector list
createContainsRegexp ( ) add a contains selector entry on the selector list
createCustom ( ) add an extended selector entry on the selector list
createDate ( ) add a selector date entry on the selector list
createDepend ( ) add a depends selector entry on the selector list
createDepth ( ) add a depth selector entry on the selector list
createExclude ( ) add a name entry on the exclude list
createExcludesFile ( ) add a name entry on the include files list
createFilename ( ) add a selector filename entry on the selector list
createInclude ( ) add a name entry on the include list
createIncludesFile ( ) add a name entry on the include files list
createMajority ( ) add a majority selector entry on the selector list
createNone ( ) add a "None" selector entry on the selector list
createNot ( ) add a "Not" selector entry on the selector list
createOr ( ) add an "Or" selector entry on the selector list
createPatternSet ( )
createPresent ( ) add a present selector entry on the selector list
createSelector ( ) add a "Select" selector entry on the selector list
createSize ( ) add a selector size entry on the selector list
createType ( ) add a type selector entry on the selector list
getDir ( Project $p )
getDirectoryScanner ( Project $p ) returns a reference to the dirscanner object belonging to this fileset
getRef ( Project $p ) Performs the check for circular references and returns the referenced FileSet.
getSelectors ( Project $p ) : an Returns the set of selectors as an array.
hasPatterns ( ) : boolean Indicates whether there are any patterns here.
hasSelectors ( ) : boolean Indicates whether there are any selectors here.
selectorCount ( ) : integer Gives the count of the number of selectors in this container
selectorElements ( ) : array Returns an array for accessing the set of selectors.
setCaseSensitive ( $isCaseSensitive ) Sets case sensitivity of the file system
setDefaultexcludes ( $useDefaultExcludes ) Sets whether default exclusions should be used or not.
setDir ( $dir )
setExcludes ( $excludes ) Sets the set of exclude patterns. Patterns may be separated by a comma or a space.
setExcludesfile ( $excl ) Sets the name of the file containing the includes patterns.
setIncludes ( $includes ) Sets the set of include patterns. Patterns may be separated by a comma or a space.
setIncludesfile ( $incl ) Sets the name of the file containing the includes patterns.
setRefid ( Reference $r ) Makes this instance in effect a reference to another PatternSet instance.

보호된 메소드들

메소드 설명
setupDirectoryScanner ( DirectoryScanner $ds, Project $p ) feed dirscanner with infos defined by this fileset

메소드 상세

__construct() 공개 메소드

public __construct ( $fileset = null )

appendSelector() 공개 메소드

Add a new selector into this container.
public appendSelector ( FileSelector $selector )
$selector FileSelector

createAnd() 공개 메소드

add an "And" selector entry on the selector list
public createAnd ( )

createContains() 공개 메소드

add a contains selector entry on the selector list
public createContains ( )

createContainsRegexp() 공개 메소드

add a contains selector entry on the selector list

createCustom() 공개 메소드

add an extended selector entry on the selector list
public createCustom ( )

createDate() 공개 메소드

add a selector date entry on the selector list
public createDate ( )

createDepend() 공개 메소드

add a depends selector entry on the selector list
public createDepend ( )

createDepth() 공개 메소드

add a depth selector entry on the selector list
public createDepth ( )

createExclude() 공개 메소드

add a name entry on the exclude list
public createExclude ( )

createExcludesFile() 공개 메소드

add a name entry on the include files list
public createExcludesFile ( )

createFilename() 공개 메소드

add a selector filename entry on the selector list
public createFilename ( )

createInclude() 공개 메소드

add a name entry on the include list
public createInclude ( )

createIncludesFile() 공개 메소드

add a name entry on the include files list
public createIncludesFile ( )

createMajority() 공개 메소드

add a majority selector entry on the selector list
public createMajority ( )

createNone() 공개 메소드

add a "None" selector entry on the selector list
public createNone ( )

createNot() 공개 메소드

add a "Not" selector entry on the selector list
public createNot ( )

createOr() 공개 메소드

add an "Or" selector entry on the selector list
public createOr ( )

createPatternSet() 공개 메소드

public createPatternSet ( )

createPresent() 공개 메소드

add a present selector entry on the selector list
public createPresent ( )

createSelector() 공개 메소드

add a "Select" selector entry on the selector list
public createSelector ( )

createSize() 공개 메소드

add a selector size entry on the selector list
public createSize ( )

createType() 공개 메소드

add a type selector entry on the selector list
public createType ( )

getDir() 공개 메소드

public getDir ( Project $p )
$p Project

getDirectoryScanner() 공개 메소드

returns a reference to the dirscanner object belonging to this fileset
public getDirectoryScanner ( Project $p )
$p Project

getRef() 공개 메소드

Performs the check for circular references and returns the referenced FileSet.
public getRef ( Project $p )
$p Project

getSelectors() 공개 메소드

Returns the set of selectors as an array.
public getSelectors ( Project $p ) : an
$p Project
리턴 an array of selectors in this container

hasPatterns() 공개 메소드

Indicates whether there are any patterns here.
public hasPatterns ( ) : boolean
리턴 boolean Whether any patterns are in this container.

hasSelectors() 공개 메소드

Indicates whether there are any selectors here.
public hasSelectors ( ) : boolean
리턴 boolean Whether any selectors are in this container

selectorCount() 공개 메소드

Gives the count of the number of selectors in this container
public selectorCount ( ) : integer
리턴 integer The number of selectors in this container

selectorElements() 공개 메소드

Returns an array for accessing the set of selectors.
public selectorElements ( ) : array
리턴 array The array of selectors

setCaseSensitive() 공개 메소드

Sets case sensitivity of the file system
public setCaseSensitive ( $isCaseSensitive )

setDefaultexcludes() 공개 메소드

Sets whether default exclusions should be used or not.
public setDefaultexcludes ( $useDefaultExcludes )
$useDefaultExcludes "true"|"on"|"yes" when default exclusions should be used, "false"|"off"|"no" when they shouldn't be used.

setDir() 공개 메소드

public setDir ( $dir )

setExcludes() 공개 메소드

Sets the set of exclude patterns. Patterns may be separated by a comma or a space.
public setExcludes ( $excludes )

setExcludesfile() 공개 메소드

Sets the name of the file containing the includes patterns.
public setExcludesfile ( $excl )
$excl The file to fetch the exclude patterns from.

setIncludes() 공개 메소드

Sets the set of include patterns. Patterns may be separated by a comma or a space.
public setIncludes ( $includes )

setIncludesfile() 공개 메소드

Sets the name of the file containing the includes patterns.
public setIncludesfile ( $incl )
$incl The file to fetch the include patterns from.

setRefid() 공개 메소드

You must not set another attribute or nest elements inside this element if you make it a reference.
public setRefid ( Reference $r )
$r Reference

setupDirectoryScanner() 보호된 메소드

feed dirscanner with infos defined by this fileset
protected setupDirectoryScanner ( DirectoryScanner $ds, Project $p )
$ds DirectoryScanner
$p Project

프로퍼티 상세

$additionalPatterns 공개적으로 프로퍼티

public $additionalPatterns

$defaultPatterns 공개적으로 프로퍼티

public PatternSet $defaultPatterns
리턴 PatternSet

$dir 공개적으로 프로퍼티

public $dir

$isCaseSensitive 공개적으로 프로퍼티

public $isCaseSensitive

$selectors 공개적으로 프로퍼티

public $selectors

$useDefaultExcludes 공개적으로 프로퍼티

public bool $useDefaultExcludes
리턴 boolean