BlockControllerThe parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates.
Located in /libraries/block_controller.php (line 24)
Controller | --BlockController
| Class | Description |
|---|---|
AutonavBlockController
|
The controller for the autonav block, which makes navigation lists and menus from C5 pages. |
ContentBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
DateNavBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
ExternalFormBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
FileBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
FlashContentBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
FormBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
GoogleMapBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
GuestbookBlockController
|
Controller for the guestbook block, which allows site owners to add comments onto any concrete page. |
HtmlBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
ImageBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
NextPreviousBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
PageListBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
RssDisplayerBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
SearchBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
SlideshowBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
SurveyBlockController
|
Controller for the survey block, which allows site owners to add surveys and uses Google's graphing web service to display results. |
TagsBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
VideoBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
YoutubeBlockController
|
The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates. |
static mixed
$sets
(line 28)
mixed
$btActiveWhenAdded
= 1 (line 34)
mixed
$btCacheBlockOutput
= false (line 42)
mixed
$btCacheBlockOutputForRegisteredUsers
= false (line 45)
mixed
$btCacheBlockOutputLifetime
= CACHE_LIFETIME (line 43)
mixed
$btCacheBlockOutputOnPost
= false (line 44)
mixed
$btCacheBlockRecord
= false (line 41)
mixed
$btCopyWhenPropagate
= 0 (line 35)
mixed
$btDescription
= "" (line 30)
mixed
$btHandle
= "" (line 32)
mixed
$btHasRendered
= false (line 40)
mixed
$btIncludeAll
= 0 (line 36)
mixed
$btInterfaceHeight
= "400" (line 39)
mixed
$btInterfaceWidth
= "400" (line 38)
mixed
$btIsInternal
= 0 (line 33)
mixed
$btName
= "" (line 31)
mixed
$dbFile
= 'db.xml' (line 37)
mixed
$headerItems
= array() (line 46)
mixed
$helpers
= array('form') (line 27)
mixed
$identifier
(line 48)
mixed
$record
(line 26)
Inherited from Controller
Controller::$c
Controller::$helperObjects
Controller::$parameters
Controller::$task
Controller::$theme
Constructor __construct (line 245)
Instantiates the block controller.
addHeaderItem (line 280)
cacheBlockOutput (line 175)
cacheBlockOutputForRegisteredUsers (line 179)
cacheBlockOutputOnPost (line 183)
cacheBlockRecord (line 171)
delete (line 220)
Automatically run when a block is deleted. This removes the special data from the block's specific database table. If a block needs to do more than this this method should be overridden.
duplicate (line 158)
Automatically run when a block is duplicated. This most likely happens when a block is edited: a block is first duplicated, and then presented to the user to make changes.
field (line 198)
get (line 64)
getBlockControllerData (line 123)
getBlockObject (line 310)
Gets the generic Block object attached to this controller's instance
getBlockTypeCacheOutputLifetime (line 187)
getBlockTypeDescription (line 350)
Returns the description of the block type
getBlockTypeName (line 326)
Returns the name of the block type
getCollectionObject (line 191)
getIdentifier (line 50)
getInterfaceHeight (line 342)
Returns the height of the block type's interface when presented in page.
getInterfaceWidth (line 334)
Returns the width of the block type's interface when presented in page.
getJavaScriptStrings (line 387)
Returns a key/value array of strings that is used to translate items when used in javascript
getPermissionsObject (line 148)
Gets the permissions object for this controller's block
getSets (line 75)
includeAll (line 372)
Returns whether this block type is included in all versions. Default is false - block types are typically versioned but sometimes it makes sense not to do so.
install (line 91)
Installs the current block's DB xml file. If a block needs to do more than this, this should be overridden.
isActiveWhenAdded (line 357)
isBlockTypeInternal (line 380)
Returns whether this block type is internal to Concrete. If it's internal it's not displayed in the front end interface. Examples include the LibraryFile block.
isCopiedWhenPropagated (line 364)
load (line 232)
Loads the BlockRecord class based on its attribute names
outputAutoHeaderItems (line 268)
post (line 202)
render (line 108)
Renders a view in the block's folder.
save (line 132)
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.
set (line 60)
Sets a value used by a particular block. These variables will automatically be present in the corresponding views used by the block.
setupAndRun (line 286)
uninstall (line 318)
validate (line 119)
__wakeup (line 167)
Inherited From Controller
Controller::__construct()
Controller::addHeaderItem()
Controller::externalRedirect()
Controller::get()
Controller::getCollectionObject()
Controller::getHelperObjects()
Controller::getRenderOverride()
Controller::getSets()
Controller::getTask()
Controller::getvar()
Controller::getView()
Controller::isPost()
Controller::isValidExternalUrl()
Controller::on_before_render()
Controller::on_start()
Controller::outputHeaderItems()
Controller::post()
Controller::redirect()
Controller::render()
Controller::request()
Controller::runTask()
Controller::set()
Controller::setCollectionObject()
Controller::setupAndRun()
Documentation generated on Thu, 15 Sep 2011 16:36:18 -0700 by phpDocumentor 1.4.1