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