Class Controller

The controller for the content block.

Concrete\Core\Controller\AbstractController implements Concrete\Core\Application\ApplicationAwareInterface
Extended by Concrete\Core\Block\BlockController
Extended by Concrete\Block\Content\Controller
Namespace: Concrete\Block\Content
Package: Blocks\Content
Copyright: Copyright (c) 2003-2012 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at blocks/content/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
# br2nl( $str )
public
public
# view( )
public
public
public
# export( SimpleXMLElement $blockNode )
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
# 'btContentLocal'
protected string $btInterfaceWidth
# "600"
protected string $btInterfaceHeight
# "465"
protected boolean $btCacheBlockRecord
# true
protected boolean $btCacheBlockOutput
# true
protected boolean $btCacheBlockOutputOnPost
# true
protected boolean $btSupportsInlineEdit
# true
protected boolean $btSupportsInlineAdd
# true
protected boolean $btCacheBlockOutputForRegisteredUsers
# false
protected integer $btCacheBlockOutputLifetime
# 0