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\Html\Controller
Namespace: Concrete\Block\Html
Package: Concrete\Core\Application
Located at blocks/html/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
# view( )
public
# add( )
public
# edit( )
public
public
# save( array $data )

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 static

Properties summary

protected string $btTable
# 'btContentLocal'
protected string $btInterfaceWidth
# "600"
protected string $btWrapperClass
# 'ccm-ui'
protected string $btInterfaceHeight
# "500"
protected boolean $btCacheBlockRecord
# true
protected boolean $btCacheBlockOutput
# true
protected boolean $btCacheBlockOutputOnPost
# true
protected boolean $btCacheBlockOutputForRegisteredUsers
# true
protected boolean $btIgnorePageThemeGridFrameworkContainer
# true
public string $content
# ""