Inheritance diagram for GuestBook:
Collaboration diagram for GuestBook:Public Member Functions | |
| render () | |
| getSortColumns () | |
| getGbSortBy () | |
| getGbSortDir () | |
| getEntries () | |
| floodProtection () | |
| getSortOrderByParameterName () | |
| getSortOrderParameterName () | |
| prepareSortColumns () | |
| getPageNavigation () | |
| saveEntry () | |
| getBreadCrumb () | |
Protected Attributes | |
| $_iCntPages = null | |
| $_blShowLogin = false | |
| $_aSortColumns = false | |
| $_sListOrderBy = false | |
| $_sListOrderDir = false | |
| $_blFloodProtection = null | |
| $_aEntries = null | |
| $_sThisTemplate = 'page/guestbook/guestbook.tpl' | |
| $_sThisLoginTemplate = 'page/guestbook/guestbook_login.tpl' | |
| $_blShowSorting = true | |
| $_oPageNavigation = null | |
| $_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW | |
Shop guestbook page. Manages, collects, denies user comments.
Definition at line 7 of file guestbook.php.
| GuestBook.floodProtection | ( | ) |
Template variable getter. Returns boolean of flood protection
Definition at line 161 of file guestbook.php.
| GuestBook.getBreadCrumb | ( | ) |
Returns Bread Crumb - you are here page1/page2/page3...
Reimplemented from oxUBase.
Definition at line 309 of file guestbook.php.
| GuestBook.getEntries | ( | ) |
Loads guestbook entries for active page and returns them.
Definition at line 138 of file guestbook.php.
| GuestBook.getGbSortBy | ( | ) |
Template variable getter. Returns order by
Definition at line 118 of file guestbook.php.
| GuestBook.getGbSortDir | ( | ) |
Template variable getter. Returns order directory
Definition at line 128 of file guestbook.php.
| GuestBook.getPageNavigation | ( | ) |
Template variable getter. Returns page navigation
Reimplemented from oxUBase.
Definition at line 244 of file guestbook.php.
| GuestBook.getSortColumns | ( | ) |
Template variable getter. Returns sorting columns
Reimplemented from oxUBase.
Definition at line 108 of file guestbook.php.
| GuestBook.getSortOrderByParameterName | ( | ) |
Returns sorted column parameter name
Reimplemented from oxUBase.
Definition at line 180 of file guestbook.php.
| GuestBook.getSortOrderParameterName | ( | ) |
Returns sorted column direction parameter name
Reimplemented from oxUBase.
Definition at line 190 of file guestbook.php.
| GuestBook.prepareSortColumns | ( | ) |
Retrieves from session or gets new sorting parameters for guestbook entries. Sets new sorting parameters (reverse or new column sort) to session.
Template variables: gborderby, gborder, allsortcolumns
Session variables: gborderby, gborder
Reimplemented from oxUBase.
Definition at line 208 of file guestbook.php.
| GuestBook.render | ( | ) |
Loads guestbook entries, forms guestbook naviagation URLS, executes parent.render() and returns name of template to render guestbook._sThisTemplate.
Reimplemented from oxUBase.
Definition at line 89 of file guestbook.php.
| GuestBook.saveEntry | ( | ) |
Method applies validation to entry and saves it to DB. On error/success returns name of action to perform (on error: "guestbookentry?error=x"", on success: "guestbook").
Reimplemented in GuestbookEntry.
Definition at line 260 of file guestbook.php.
GuestBook.$_aEntries = null [protected] |
Definition at line 49 of file guestbook.php.
GuestBook.$_aSortColumns = false [protected] |
Definition at line 25 of file guestbook.php.
GuestBook.$_blFloodProtection = null [protected] |
Definition at line 43 of file guestbook.php.
GuestBook.$_blShowLogin = false [protected] |
Definition at line 19 of file guestbook.php.
GuestBook.$_blShowSorting = true [protected] |
Reimplemented from oxUBase.
Definition at line 67 of file guestbook.php.
GuestBook.$_iCntPages = null [protected] |
Definition at line 13 of file guestbook.php.
GuestBook.$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXNOFOLLOW [protected] |
Current view search engine indexing state: VIEW_INDEXSTATE_INDEX - index without limitations VIEW_INDEXSTATE_NOINDEXNOFOLLOW - no index / no follow VIEW_INDEXSTATE_NOINDEXFOLLOW - no index / follow
Reimplemented from oxUBase.
Definition at line 80 of file guestbook.php.
GuestBook.$_oPageNavigation = null [protected] |
Definition at line 73 of file guestbook.php.
GuestBook.$_sListOrderBy = false [protected] |
Reimplemented from oxUBase.
Definition at line 31 of file guestbook.php.
GuestBook.$_sListOrderDir = false [protected] |
Reimplemented from oxUBase.
Definition at line 37 of file guestbook.php.
GuestBook.$_sThisLoginTemplate = 'page/guestbook/guestbook_login.tpl' [protected] |
Definition at line 61 of file guestbook.php.
GuestBook.$_sThisTemplate = 'page/guestbook/guestbook.tpl' [protected] |
Reimplemented from oxView.
Reimplemented in GuestbookEntry.
Definition at line 55 of file guestbook.php.
1.7.1