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\ImageSlider\Controller
Namespace: Concrete\Block\ImageSlider
Package: Concrete\Core\Application
Located at blocks/image_slider/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
# add( )
public
# edit( )
public
# composer( )
public
public
public
# view( )
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
# 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
# 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.

Properties summary

protected string $btTable
# 'btImageSlider'
protected array $btExportTables
# array('btImageSlider', 'btImageSliderEntries')
protected string $btInterfaceWidth
# "600"
protected string $btWrapperClass
# 'ccm-ui'
protected string $btInterfaceHeight
# "550"
protected boolean $btCacheBlockRecord
# true
protected array $btExportFileColumns
# array('fID')
protected boolean $btCacheBlockOutput
# true
protected boolean $btCacheBlockOutputOnPost
# true
protected boolean $btCacheBlockOutputForRegisteredUsers
# false
protected boolean $btIgnorePageThemeGridFrameworkContainer
# true