Handles front-end processing for pages
This is the code documentation for the SproutCMS project
Search documentation |
class PageControllerHandles front-end processing for pages
Variables
Functions
public additionalCssvoid $PageController->additionalCss ( mixed $page_id [, mixed $junk ] ); Gets the additional CSS for a page, if it has any private displayPagestring $PageController->displayPage ( array $page [, string $approval_code ] ); Called by the two display functions. Does the actual display. public fourOhFourvoid $PageController->fourOhFour ( mixed $name ); 404 error public frontEndSearchstring $PageController->frontEndSearch ( array $item_id , mixed $relevancy , mixed $keywords ); Process the results of a search. private loadWidgetsvoid $PageController->loadWidgets ( array $conds_env , array $page ); Loads the widgets from the database for this page. public reviewvoid $PageController->review ( mixed $rev_id ); Action for reviewing a page - either approves or rejects the revision private setSocialMetavoid $PageController->setSocialMeta ( array $page , string $content_html ); Set the social meta data for a page private textTranslationunknown $PageController->textTranslation ( mixed $page_id , mixed $text ); Makes alterations to the main text content private trackVisitvoid $PageController->trackVisit ( mixed $page_id ); Rudimentary stats tracking public viewByIdvoid $PageController->viewById ( int $id ); Displays a page. The page is specified by the page id public viewByNamevoid $PageController->viewByName ( string $name ); Displays a page. The page is specified by the page friendly name public viewSpecificRevvoid $PageController->viewSpecificRev ( int $page_id , int $rev_id [, string $approval_code ] ); Displays a specific revision of a page. private widgetCondsEnvironmentarray $PageController->widgetCondsEnvironment ( array $page ); Return the environment which is provided to the widget display conditions logic |
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|