kernel/classes/ezscript.php
File containing the eZScript class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- kernel
- Version
- 4.6.0
Functions
\eZScript
Package: kernel
File containing the eZScript class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Version
- 4.6.0
Properties
Methods

getOptions(
$config
=
'', $argumentConfig
=
'', $optionHelp
=
false, $arguments
=
false, $useStandardOptions
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $config | ||
| $argumentConfig | ||
| $optionHelp | ||
| $arguments | ||
| $useStandardOptions |

instance(
array $settings
=
array()
)
:
\eZScript
static
Returns a shared instance of the eZScript class.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $settings | array | Used by the first generated instance, but ignored for subsequent calls. |
| Type | Description |
|---|---|
| \eZScript |

resetIteration(
$iterationMax
=
false, $startIndex
=
0
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $iterationMax | ||
| $startIndex |

setAllowedDebugLevels(
$allowedDebugLevels
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $allowedDebugLevels |

setIterationData(
$trueString, $falseString, $numericStrings
=
false, $wrapNumeric
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $trueString | ||
| $falseString | ||
| $numericStrings | ||
| $wrapNumeric |

setUseDebugAccumulators(
$useAccumulators
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $useAccumulators |

setUseDebugTimingPoints(
$useTimingPoints
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $useTimingPoints |

setUser(
$userLogin, $userPassword
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $userLogin | ||
| $userPassword |

showHelp(
$useStandardOptions
=
false, $optionConfig
=
false, $optionHelp
=
false, $argumentConfig
=
false, $arguments
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $useStandardOptions | ||
| $optionConfig | ||
| $optionHelp | ||
| $argumentConfig | ||
| $arguments |

shutdown(
$exitCode
=
false, $exitText
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $exitCode | ||
| $exitText |