| 
    Moodle APIs 3.9
    
   Moodle 3.9.13+ (Build: 20220325) 
   | 
 
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.