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\PageList\Controller
Namespace: Concrete\Block\PageList
Package: Concrete\Core\Application
Located at blocks/page_list/controller.php

Methods summary

public string
# getBlockTypeDescription( )

Used for localization. If we want to localize the name/description we have to include this.

public string
# getBlockTypeName( )

Returns the name of the block type.

public
# getJavaScriptStrings( )

Returns a key/value array of strings that is used to translate items when used in javascript.

public
public
# view( )
public
# add( )
public
# edit( )
protected
# loadKeys( )
public
# action_filter_by_topic( $treeNodeID = false, $topic = false )
public
# action_filter_by_tag( $tag = false )
public
# action_filter_by_date( $year = false, $month = false, $timezone = 'user' )
public
public
public
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
public

Properties summary

protected string $btTable
# 'btPageList'
protected string $btInterfaceWidth
# "800"
protected string $btInterfaceHeight
# "350"
protected array $btExportPageColumns
# array('cParentID')
protected array $btExportPageTypeColumns
# array('ptID')
protected array $btExportPageFeedColumns
# array('pfID')
protected boolean $btCacheBlockRecord
# true
protected $btCacheBlockOutput
# null
protected boolean $btCacheBlockOutputOnPost
# true
protected integer $btCacheBlockOutputLifetime
# 300
protected $list
#