Class Controller

Interface ApplicationAwareInterface This interface declares awareness of the concrete5 application.

Concrete\Core\Controller\AbstractController implements Concrete\Core\Application\ApplicationAwareInterface
Extended by Concrete\Core\Block\BlockController
Extended by Concrete\Block\CoreAreaLayout\Controller
Namespace: Concrete\Block\CoreAreaLayout
Package: Concrete\Core\Application
Located at blocks/core_area_layout/controller.php

Methods summary

public string
# getBlockTypeDescription( )

Returns the description of the block type.

public string
# getBlockTypeName( )

Returns the name of the block type.

public
public BlockRecord
# duplicate( integer $newBID )

Automatically run when a block is duplicated. This most likely happens when a block is edited: a block is first duplicated, and then presented to the user to make changes.

public
public
# delete( )

Automatically run when a block is deleted. This removes the special data from the block's specific database table. If a block needs to do more than this this method should be overridden.

public
# export( SimpleXMLElement $blockNode )
public
# save( array $post )

Run when a block is added or edited. Automatically saves block data against the block's database table. If a block needs to do more than this (save to multiple tables, upload files, etc... it should override this.

public
protected
public
# addFromPost( $post )
public
# view( )
public
# edit( )
public
# add( )

Properties summary

protected boolean $btSupportsInlineAdd
# true
protected boolean $btSupportsInlineEdit
# true
protected string $btTable
# 'btCoreAreaLayout'
protected boolean $btIsInternal
# true