|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| SimpleBrowserHistory () | |
| _isEmpty () | |
| _atBeginning () | |
| _atEnd () | |
| recordEntry ($url, $parameters) | |
| getUrl () | |
| getParameters () | |
| back () | |
| forward () | |
| _dropFuture () | |
Data Fields | |
| $_sequence | |
| $_position | |
Definition at line 30 of file browser.php.
| _atBeginning | ( | ) |
Test for being at the beginning.
Definition at line 57 of file browser.php.


| _atEnd | ( | ) |
Test for being at the last entry.
Definition at line 66 of file browser.php.


| _dropFuture | ( | ) |
Ditches all future entries beyond the current point. private
Definition at line 143 of file browser.php.


| _isEmpty | ( | ) |
Test for no entries yet.
Definition at line 48 of file browser.php.

| back | ( | ) |
Step back one place in the history. Stops at the first page.
Definition at line 116 of file browser.php.

| forward | ( | ) |
Step forward one place. If already at the latest entry then nothing will happen.
Definition at line 130 of file browser.php.

| getParameters | ( | ) |
Parameters of last fetch from current history position.
Definition at line 103 of file browser.php.

| getUrl | ( | ) |
Last fully qualified URL for current history position.
Definition at line 90 of file browser.php.

| recordEntry | ( | $ | url, |
| $ | parameters | ||
| ) |
Adds a successfully fetched page to the history.
| SimpleUrl | $url | URL of fetch. |
| SimpleEncoding | $parameters | Any post data with the fetch. public |
Definition at line 76 of file browser.php.

Starts empty. public
Definition at line 38 of file browser.php.
| $_position |
Definition at line 32 of file browser.php.
| $_sequence |
Definition at line 31 of file browser.php.