|
Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
States for a stack machine. More...
Public Member Functions | |
| __construct ($start) | |
| Constructor. More... | |
| enter ($state) | |
| Adds a state to the stack and sets it to be the current state. More... | |
| getCurrent () | |
| Accessor for current state. More... | |
| leave () | |
| Leaves the current state and reverts to the previous one. More... | |
| StateStack ($start) | |
| Old syntax of class constructor. More... | |
Public Attributes | |
| $_stack | |
States for a stack machine.