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\Image\Controller
Namespace: Concrete\Block\Image
Package: Concrete\Core\Application
Located at blocks/image/controller.php

Methods summary

public string
# getBlockTypeDescription( )

Used for localization. If we want to localize the name/description we have to include this.

public string
# getBlockTypeName( )

Returns the name of the block type.

public
public
# view( )
public
# getJavaScriptStrings( )

Returns a key/value array of strings that is used to translate items when used in javascript.

public
public
public
public
public
public
public
public
# getTitle( )
public
public
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 integer $btInterfaceWidth
# 400
protected integer $btInterfaceHeight
# 550
protected string $btTable
# 'btContentImage'
protected boolean $btCacheBlockRecord
# true
protected boolean $btCacheBlockOutput
# true
protected boolean $btCacheBlockOutputOnPost
# true
protected boolean $btCacheBlockOutputForRegisteredUsers
# true
protected string $btWrapperClass
# 'ccm-ui'
protected array $btExportFileColumns
# array('fID','fOnstateID')
protected array $btExportPageColumns
# array('internalLinkCID')
protected array $btFeatures
# array( 'image', )