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\RssDisplayer\Controller
Namespace: Concrete\Block\RssDisplayer
Package: Concrete\Core\Application
Located at blocks/rss_displayer/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.

# getJavaScriptStrings( )

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

# formatDateTime( DateTime|null $date, string|boolean $format = true )

Format a \DateTime instance accordingly to $format

# view( )
# save( array $data )

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

public string $itemsToDisplay
# "5"
public string $showSummary
# "1"
public string $launchInNewWindow
# "1"
public string $title
# ""
protected string $btTable
# 'btRssDisplay'
protected integer $btInterfaceWidth
# 400
protected integer $btInterfaceHeight
# 550
protected boolean $btCacheBlockRecord
# true
protected boolean $btCacheBlockOutput
# true
protected boolean $btCacheBlockOutputOnPost
# true
protected string $btWrapperClass
# 'ccm-ui'
protected boolean $btCacheBlockOutputForRegisteredUsers
# true
protected integer $btCacheBlockOutputLifetime
# 3600