Inheritance diagram for CrontabSectionElement:
Collaboration diagram for CrontabSectionElement:Public Member Functions | |
| __construct ($contextRoot, $file) | |
| normalizeFile ($path) | |
| normalizeContextRoot ($path) | |
| matchContextRoot ($contextRoot) | |
| matchFile ($file) | |
| match ($contextRoot, $file) | |
| __toString () | |
Public Member Functions inherited from CrontabElement | |
| appendChild (CrontabElement &$element) | |
Data Fields | |
| $contextRoot | |
| $file | |
Data Fields inherited from CrontabElement | |
| $childs = array() | |
Definition at line 4 of file Class.CrontabSectionElement.php.
| __construct | ( | $contextRoot, | |
| $file | |||
| ) |
CrontabParserSectionElement constructor.
| string | $contextRoot | |
| string | $file |
Definition at line 14 of file Class.CrontabSectionElement.php.
| __toString | ( | ) |
Serialize element to string
Definition at line 86 of file Class.CrontabSectionElement.php.
| match | ( | $contextRoot, | |
| $file | |||
| ) |
Check if the section match the given context and file
| string | $contextRoot | The context's root directory |
| string | $file | The cron file relative to the context's root directory |
Definition at line 77 of file Class.CrontabSectionElement.php.
| matchContextRoot | ( | $contextRoot | ) |
Check if the section match the given context
| string | $contextRoot | The context's root directory |
Definition at line 56 of file Class.CrontabSectionElement.php.
| matchFile | ( | $file | ) |
Check if the section match the given file
| string | $file | The cron file relative to the context's root directory |
Definition at line 66 of file Class.CrontabSectionElement.php.
| normalizeContextRoot | ( | $path | ) |
Cleanup path names and try to resolve absolute path
| string | $path |
Definition at line 41 of file Class.CrontabSectionElement.php.
| normalizeFile | ( | $path | ) |
Cleanup path names
| string | $path |
Definition at line 25 of file Class.CrontabSectionElement.php.
| $contextRoot |
Definition at line 6 of file Class.CrontabSectionElement.php.
| $file |
Definition at line 7 of file Class.CrontabSectionElement.php.