TYPO3  7.6
Public Member Functions | Private Attributes | List of all members
Glob Class Reference
Inheritance diagram for Glob:
ValueInterface

Public Member Functions

 __construct ($pattern)
 
 render ()
 
 renderPattern ()
 
 getType ()
 
 isCaseSensitive ()
 
 prepend ($expr)
 
 append ($expr)
 
 isExpandable ()
 
 toRegex ($strictLeadingDot=true, $strictWildcardSlash=true)
 

Private Attributes

 $pattern
 

Detailed Description

Author
Jean-François Simon conta.nosp@m.ct@j.nosp@m.fsimo.nosp@m.n.fr

Definition at line 19 of file Expression/Glob.php.

Constructor & Destructor Documentation

__construct (   $pattern)
Parameters
string$pattern

Definition at line 29 of file Expression/Glob.php.

References Glob\$pattern.

Member Function Documentation

append (   $expr)

{

Parameters
string$expr
Returns
ValueInterface
}

Implements ValueInterface.

Definition at line 79 of file Expression/Glob.php.

getType ( )

{Returns expression type.

Returns
int
}

Implements ValueInterface.

Definition at line 53 of file Expression/Glob.php.

References Expression\TYPE_GLOB.

isCaseSensitive ( )

{Returns value case sensitivity.

Returns
bool
}

Implements ValueInterface.

Definition at line 61 of file Expression/Glob.php.

isExpandable ( )

Tests if glob is expandable ("*.{a,b}" syntax).

Returns
bool

Definition at line 91 of file Expression/Glob.php.

prepend (   $expr)

{

Parameters
string$expr
Returns
ValueInterface
}

Implements ValueInterface.

Definition at line 69 of file Expression/Glob.php.

render ( )

{Renders string representation of expression.

Returns
string
}

Implements ValueInterface.

Definition at line 37 of file Expression/Glob.php.

References Glob\$pattern.

renderPattern ( )

{Renders string representation of pattern.

Returns
string
}

Implements ValueInterface.

Definition at line 45 of file Expression/Glob.php.

References Glob\$pattern.

toRegex (   $strictLeadingDot = true,
  $strictWildcardSlash = true 
)
Parameters
bool$strictLeadingDot
bool$strictWildcardSlash
Returns
Regex

Definition at line 103 of file Expression/Glob.php.

Member Data Documentation

$pattern
private

Definition at line 24 of file Expression/Glob.php.

Referenced by Glob\__construct(), Glob\render(), and Glob\renderPattern().