Zend Framework
3.0
|
Wrapper for glob with fallback if GLOB_BRACE is not available. More...
Static Public Member Functions | |
static | glob ($pattern, $flags=0, $forceFallback=false) |
#@- | |
Public Attributes | |
const | GLOB_MARK = 0x01 |
#@+ Glob constants. | |
const | GLOB_NOSORT = 0x02 |
const | GLOB_NOCHECK = 0x04 |
const | GLOB_NOESCAPE = 0x08 |
const | GLOB_BRACE = 0x10 |
const | GLOB_ONLYDIR = 0x20 |
const | GLOB_ERR = 0x40 |
Static Protected Member Functions | |
static | systemGlob ($pattern, $flags) |
Use the glob function provided by the system. | |
static | fallbackGlob ($pattern, $flags) |
Expand braces manually, then use the system glob. | |
static | nextBraceSub ($pattern, $begin, $flags) |
Find the end of the sub-pattern in a brace expression. | |
Wrapper for glob with fallback if GLOB_BRACE is not available.
|
staticprotected |
Expand braces manually, then use the system glob.
string | $pattern | |
int | $flags |
Exception\RuntimeException |
|
static |
#@-
Find pathnames matching a pattern.
string | $pattern | |
int | $flags | |
bool | $forceFallback |
Exception\RuntimeException |
|
staticprotected |
Find the end of the sub-pattern in a brace expression.
string | $pattern | |
int | $begin | |
int | $flags |
|
staticprotected |
Use the glob function provided by the system.
string | $pattern | |
int | $flags |
Exception\RuntimeException |
const GLOB_BRACE = 0x10 |
const GLOB_ERR = 0x40 |
const GLOB_MARK = 0x01 |
#@+ Glob constants.
const GLOB_NOCHECK = 0x04 |
const GLOB_NOESCAPE = 0x08 |
const GLOB_NOSORT = 0x02 |
const GLOB_ONLYDIR = 0x20 |