Class ilDclStack.
More...
Protected Attributes |
| $stack = array() |
Detailed Description
Member Function Documentation
- Returns
- null
Definition at line 28 of file class.ilDclStack.php.
References count(), and isEmpty().
{
$last_index =
count($this->stack) - 1;
$elem = $this->stack[$last_index];
unset($this->stack[$last_index]);
$this->stack = array_values($this->stack);
return $elem;
}
return NULL;
}
ilDclStack::push |
( |
|
$elem | ) |
|
Field Documentation
ilDclStack::$stack = array() |
|
protected |
The documentation for this class was generated from the following file: