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\SocialLinks\Controller
Namespace: Concrete\Block\SocialLinks
Package: Concrete\Core\Application
Located at blocks/social_links/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
# edit( )
public
# add( )
public
# export( SimpleXMLElement $blockNode )
public
public
public BlockRecord
# duplicate( integer $newBlockID )

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

Properties summary

public array $helpers
# array('form')
protected integer $btInterfaceWidth
# 400
protected boolean $btCacheBlockOutput
# true
protected boolean $btCacheBlockOutputOnPost
# true
protected boolean $btCacheBlockOutputForRegisteredUsers
# true
protected integer $btInterfaceHeight
# 400
protected string $btTable
# 'btSocialLinks'