|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| SimpleStateStack ($start) | |
| getCurrent () | |
| enter ($state) | |
| leave () | |
Data Fields | |
| $_stack | |
Definition at line 124 of file parser.php.
| enter | ( | $ | state | ) |
Adds a state to the stack and sets it to be the current state.
| string | $state | New state. public |
Definition at line 151 of file parser.php.
| getCurrent | ( | ) |
| leave | ( | ) |
Leaves the current state and reverts to the previous one.
Definition at line 162 of file parser.php.
| SimpleStateStack | ( | $ | start | ) |
Constructor. Starts in named state.
| string | $start | Starting state name. public |
Definition at line 132 of file parser.php.
| $_stack |
Definition at line 125 of file parser.php.