Constructor & Destructor Documentation
KErrorStack::__construct |
( |
$ |
id, |
|
|
$ |
registerInstance = false |
|
) |
| |
Member Function Documentation
KErrorStack::count |
( |
$ |
type = false | ) |
|
static KErrorStack::countStack |
( |
$ |
stackId | ) |
[static] |
Returns errors in the stack as array.
static KErrorStack::getStackNames |
( |
| ) |
[static] |
Returns active error stacks.
static KErrorStack::getStacks |
( |
| ) |
[static] |
Returns active error stacks.
static KErrorStack::instance |
( |
$ |
id = self::MAIN , |
|
|
$ |
create = true |
|
) |
| [static] |
Returns named instance of KErrorStack.
- Parameters:
-
$id | - Pass false to use self::MAIN id. Pass null to just create a stack and not store it anywhere... If you pass a KErrorStack object, it will bre returned back. |
- Returns:
- KErrorStack
KErrorStack::mergeStack |
( |
KErrorStack $ |
stack, |
|
|
$ |
reset = true |
|
) |
| |
Merges another stack into this one.
- Returns:
- Merged count
static KErrorStack::popStack |
( |
$ |
stackId | ) |
[static] |
KErrorStack::push |
( |
$ |
type, |
|
|
$ |
msg |
|
) |
| |
static KErrorStack::pushStack |
( |
$ |
stackId, |
|
|
$ |
type, |
|
|
$ |
msg |
|
) |
| [static] |
static KErrorStack::registerStack |
( |
$ |
id, |
|
|
$ |
stack |
|
) |
| [static] |
Registers specified stack under different id.
KErrorStack::setAll |
( |
$ |
errors | ) |
|
Field Documentation
KErrorStack::$errors = array() [protected] |
KErrorStack::$inst [static] |
KErrorStack::$instances = array() [static] |
The documentation for this class was generated from the following file: