PHP Class RainLab\Pages\Controllers\Index

Author: Alexey Bobkov, Samuel Georges
Inheritance: extends Backend\Classes\Controller, use trait Backend\Traits\InspectableContainer
Afficher le fichier Open project: rainlab/pages-plugin

Méthodes publiques

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

Protected Properties

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

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
index ( )
index_onOpen ( )
onCreateObject ( )
onDelete ( )
onDeleteObjects ( )
onGetInspectorConfiguration ( )
onGetMenuItemTypeInfo ( )
onGetSnippetNames ( )
onOpenConcurrencyResolveForm ( )
onSave ( )
onUpdatePageLayout ( )

Méthodes protégées

Méthode Description
addPagePlaceholders ( $formWidget, $page )
addPageSyntaxFields ( $formWidget, $page )
bindFormWidgetToController ( )
convertLineEndings ( string $markup ) : string Replaces Windows style (/r/n) line endings with unix style (/n) line endings.
createObject ( $type )
fillObjectFromPost ( $type )
getContentTemplateList ( ) : October\Rain\Database\Collection Returns a list of content files
getTabTitle ( $type, $object )
loadObject ( $type, $path, $ignoreNotFound = false )
makeObjectFormWidget ( $type, $object, $alias = null )
pushObjectForm ( $type, $object )
resolveTypeClassName ( $type )
validateRequestTheme ( )

Method Details

__construct() public méthode

Constructor.
public __construct ( )

addPagePlaceholders() protected méthode

protected addPagePlaceholders ( $formWidget, $page )

addPageSyntaxFields() protected méthode

protected addPageSyntaxFields ( $formWidget, $page )

bindFormWidgetToController() protected méthode

convertLineEndings() protected méthode

Replaces Windows style (/r/n) line endings with unix style (/n) line endings.
protected convertLineEndings ( string $markup ) : string
$markup string The markup to convert to unix style endings
Résultat string

createObject() protected méthode

protected createObject ( $type )

fillObjectFromPost() protected méthode

protected fillObjectFromPost ( $type )

getContentTemplateList() protected méthode

Returns a list of content files
protected getContentTemplateList ( ) : October\Rain\Database\Collection
Résultat October\Rain\Database\Collection

getTabTitle() protected méthode

protected getTabTitle ( $type, $object )

index() public méthode

public index ( )

index_onOpen() public méthode

public index_onOpen ( )

loadObject() protected méthode

protected loadObject ( $type, $path, $ignoreNotFound = false )

makeObjectFormWidget() protected méthode

protected makeObjectFormWidget ( $type, $object, $alias = null )

onCreateObject() public méthode

public onCreateObject ( )

onDelete() public méthode

public onDelete ( )

onDeleteObjects() public méthode

public onDeleteObjects ( )

onGetInspectorConfiguration() public méthode

onGetMenuItemTypeInfo() public méthode

onGetSnippetNames() public méthode

public onGetSnippetNames ( )

onOpenConcurrencyResolveForm() public méthode

onSave() public méthode

public onSave ( )

onUpdatePageLayout() public méthode

public onUpdatePageLayout ( )

pushObjectForm() protected méthode

protected pushObjectForm ( $type, $object )

resolveTypeClassName() protected méthode

protected resolveTypeClassName ( $type )

validateRequestTheme() protected méthode

protected validateRequestTheme ( )

Property Details

$requiredPermissions public_oe property

public $requiredPermissions

$theme protected_oe property

protected $theme