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\DateNavigation\Controller
Namespace: Concrete\Block\DateNavigation
Package: Concrete\Core\Application
Located at blocks/date_navigation/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
# add( )
public
# edit( )
public
# getDateLabel( $dateArray )
public
public
# action_filter_by_date( $year = false, $month = false )
public
# isSelectedDate( $dateArray )
public
# view( )
public
# 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 array $helpers
# array('form')
protected integer $btInterfaceWidth
# 400
protected integer $btInterfaceHeight
# 450
protected array $btExportPageColumns
# array('cParentID', 'cTargetID')
protected array $btExportPageTypeColumns
# array('ptID')
protected string $btTable
# 'btDateNavigation'