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\CoreGathering\Controller
Namespace: Concrete\Block\CoreGathering
Package: Concrete\Core\Application
Located at blocks/core_gathering/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 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.

protected
public
public
# add( )
public
# edit( )
public
public
# save( array $args )

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
# 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
public
# view( )

Properties summary

protected boolean $btCacheBlockRecord
# true
protected string $btTable
# 'btCoreGathering'
protected boolean $btSupportsInlineEdit
# true