PHP Class RainLab\Pages\Classes\Controller

Author: Alexey Bobkov, Samuel Georges
Inheritance: use trait October\Rain\Support\Traits\Singleton
Datei anzeigen Open project: rainlab/pages-plugin Class Usage Examples

Protected Properties

Property Type Description
$theme

Public Methods

Method Description
getPageContents ( $page )
getPlaceholderContents ( $page, $placeholderName, $placeholderContents )
initCmsPage ( string $url ) : Cms\Classes\Page Creates a CMS page from a static page and configures it.
initPageComponents ( $cmsController, $page )
injectPageTwig ( $page, $loader, $twig )
parseSyntaxFields ( $content )

Protected Methods

Method Description
init ( ) Initialize this singleton.

Method Details

getPageContents() public method

public getPageContents ( $page )

getPlaceholderContents() public method

public getPlaceholderContents ( $page, $placeholderName, $placeholderContents )

init() protected method

Initialize this singleton.
protected init ( )

initCmsPage() public method

Creates a CMS page from a static page and configures it.
public initCmsPage ( string $url ) : Cms\Classes\Page
$url string Specifies the static page URL.
return Cms\Classes\Page Returns the CMS page object or NULL of the requested page was not found.

initPageComponents() public method

public initPageComponents ( $cmsController, $page )

injectPageTwig() public method

public injectPageTwig ( $page, $loader, $twig )

parseSyntaxFields() public method

public parseSyntaxFields ( $content )

Property Details

$theme protected_oe property

protected $theme