kernel/classes/ezscript.php
Functions
\eZScript
Package:
Properties
Methods

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

instance(
\$settings $settings
=
array()
)
:
\eZScript
static
Returns a shared instance of the eZScript class.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $settings | \$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 |