PHP Class RainLab\Pages\Classes\Controller

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

Protected Properties

Свойство Type Description
$theme

Méthodes publiques

Méthode 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 )

Méthodes protégées

Méthode Description
init ( ) Initialize this singleton.

Method Details

getPageContents() public méthode

public getPageContents ( $page )

getPlaceholderContents() public méthode

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

init() protected méthode

Initialize this singleton.
protected init ( )

initCmsPage() public méthode

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.
Résultat Cms\Classes\Page Returns the CMS page object or NULL of the requested page was not found.

initPageComponents() public méthode

public initPageComponents ( $cmsController, $page )

injectPageTwig() public méthode

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

parseSyntaxFields() public méthode

public parseSyntaxFields ( $content )

Property Details

$theme protected_oe property

protected $theme