Class Controller

The controller for the conversation block. This block is used to display conversations in a page.

Concrete\Core\Controller\AbstractController implements Concrete\Core\Application\ApplicationAwareInterface
Extended by Concrete\Core\Block\BlockController
Extended by Concrete\Block\CoreConversation\Controller implements Concrete\Core\Feature\ConversationFeatureInterface
Namespace: Concrete\Block\CoreConversation
Package: Blocks\Conversation
Copyright: Copyright (c) 2003-2013 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at blocks/core_conversation/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
public
# duplicate_master( $newBID, $newPage )
public
# edit( )
public
public
# view( )
public
public
# getActiveUsers( $lower = false )
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
# 'btCoreConversation'
protected $conversation
#
protected string $btWrapperClass
# 'ccm-ui'
protected boolean $btCopyWhenPropagate
# true
protected array $btFeatures
# array( 'conversation', )