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\Discussion\Controller
Namespace: Concrete\Block\Discussion
Package: Concrete\Core\Application
Located at blocks/discussion/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
public
# view( )
public
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.

Properties summary

protected boolean $btCacheBlockRecord
# true
protected string $btTable
# 'btDiscussion'