lib/ezutils/classes/ezsys.php
\eZSys
Constants
Properties

array
$AccessPath= ''
The access path of the current site view, associated array of associated arrays.
On first level key is 'siteaccess' and 'path' to distinguish between siteaccess and general path. On second level you have (string)'name' and (array)'url', where url is the path and name is the name of the source (used to match siteaccess in {@link eZSys::indexFile()} for RemoveSiteAccessIfDefaultAccess matching) .
- Type
- array

string
$FileSystemType= ''
The type of filesystem, is either win32 or unix. This often used to determine OS specific paths.
- Type
- string

string
$LineSeparator= ''
The line separator used in files, "\n" / "\n\r" / "\r"
- Type
- string

string
$RequestURI= ''
The uri which is used for parsing module/view information from, may differ from $_SERVER['REQUEST_URI']
- Type
- string

\stringt
$ShellEscapeCharacter= ''
The character to be used in shell escaping, this character is OS specific
- Type
- \stringt
Methods

__get(
$propertyName
)
:
mixedMagic function to get access readonly properties (protected)
| Name | Type | Description |
|---|---|---|
| $propertyName |
| Type | Description |
|---|---|
| mixed |
| Exception | Description |
|---|---|
| \ezcBasePropertyNotFoundException |

addAccessPath(
array | string $path, string $name
=
'undefined', bool $siteaccess
=
true
)
:
voidAppends the access path (parts of url that identifies siteaccess), used by {@link eZSys::indexFile()} NOTE: Does not make sense to use for siteaccess, as you would want to clear current path and set new one normally, so preferably use {@link eZSys::setAccessPath()} in this case.
| Name | Type | Description |
|---|---|---|
| $path | array | string | |
| $name | string | An identifer of the name of the path provided {@link $AccessPath} |
| $siteaccess | bool | Hints if path is siteaccess related or not, needed in case subsequesnt code suddenly changes siteaccess and needs to clear siteaccess scope |

clearAccessPath(
$siteaccess
=
true
)
:
voidClears the access path, used by {@link eZSys::indexFile()}
| Name | Type | Description |
|---|---|---|
| $siteaccess |

createShellArgument(
$argumentText, $replaceList
)
:
void| Name | Type | Description |
|---|---|---|
| $argumentText | ||
| $replaceList |

environmentVariable(
$variableName, $quiet
=
false
)
:
void| Name | Type | Description |
|---|---|---|
| $variableName | ||
| $quiet |

hasEnvironmentVariable(
$variableName
)
:
void| Name | Type | Description |
|---|---|---|
| $variableName |

init(
$index
=
"index.php", $force_VirtualHost
=
false
)
:
void| Name | Type | Description |
|---|---|---|
| $index | ||
| $force_VirtualHost |

instance(
)
:
\eZSysReturns a shared instance of the eZSys class
| Type | Description |
|---|---|
| \eZSys |

isPHPVersionSufficient(
$requiredVersion
)
:
void| Name | Type | Description |
|---|---|---|
| $requiredVersion |

mergeArgumentElements(
$argumentElements
)
:
void| Name | Type | Description |
|---|---|---|
| $argumentElements |

serverVariable(
$variableName, $quiet
=
false
)
:
void| Name | Type | Description |
|---|---|---|
| $variableName | ||
| $quiet |

setAccessPath(
array $path
=
array(), string $name
=
'undefined', bool $siteaccess
=
true
)
:
voidSet access path (parts of url that identifies siteaccess), used by {@link eZSys::indexFile()}
| Name | Type | Description |
|---|---|---|
| $path | array | |
| $name | string | An identifer of the name of the path provided {@link $AccessPath} |
| $siteaccess | bool | Hints if path is siteaccess related or not, needed in case subsequesnt code suddenly changes siteaccess and needs to clear siteaccess scope |

setEnvironmentVariable(
$variableName, $variableValue
)
:
void| Name | Type | Description |
|---|---|---|
| $variableName | ||
| $variableValue |

setServerVariable(
$variableName, $variableValue
)
:
void| Name | Type | Description |
|---|---|---|
| $variableName | ||
| $variableValue |

splitArgumentIntoElements(
$argumentText
)
:
void| Name | Type | Description |
|---|---|---|
| $argumentText |