Class ContentBlockController

Description

The parent object of all individual block type controllers. Responsible for installing the block, saving its data, rendering its various templates.

  • author: Andrew Embler <andrew@concrete5.org>
  • copyright: Copyright (c) 2003-2008 Concrete5. (http://www.concrete5.org)

Located in /blocks/content/controller.php (line 3)

Controller
   |
   --BlockController
      |
      --ContentBlockController
Variable Summary
Method Summary
 void br2nl ( $str)
 void getContent ()
 void save ( $data)
 void translateFrom ( $text)
 void translateFromEditMode ( $text)
 void translateTo ( $text)
Variables
mixed $btCacheBlockOutput = true (line 11)
  • access: protected

Redefinition of:
BlockController::$btCacheBlockOutput
mixed $btCacheBlockOutputForRegisteredUsers = true (line 13)
  • access: protected

Redefinition of:
BlockController::$btCacheBlockOutputForRegisteredUsers
mixed $btCacheBlockOutputLifetime = CACHE_LIFETIME (line 14)
  • access: protected

Redefinition of:
BlockController::$btCacheBlockOutputLifetime
mixed $btCacheBlockOutputOnPost = true (line 12)
  • access: protected

Redefinition of:
BlockController::$btCacheBlockOutputOnPost
mixed $btCacheBlockRecord = true (line 10)
  • access: protected

Redefinition of:
BlockController::$btCacheBlockRecord
mixed $btInterfaceHeight = "465" (line 9)
  • access: protected

Redefinition of:
BlockController::$btInterfaceHeight
mixed $btInterfaceWidth = "600" (line 8)
  • access: protected

Redefinition of:
BlockController::$btInterfaceWidth
mixed $btTable = 'btContentLocal' (line 7)
  • access: protected
mixed $pobj (line 5)
  • access: public

Inherited Variables

Inherited from BlockController

BlockController::$btActiveWhenAdded
BlockController::$btCopyWhenPropagate
BlockController::$btDescription
BlockController::$btHandle
BlockController::$btHasRendered
BlockController::$btIncludeAll
BlockController::$btIsInternal
BlockController::$btName
BlockController::$dbFile
BlockController::$headerItems
BlockController::$helpers
BlockController::$identifier
BlockController::$record
BlockController::$sets

Inherited from Controller

Controller::$c
Controller::$helperObjects
Controller::$parameters
Controller::$task
Controller::$theme
Methods
br2nl (line 33)
void br2nl ( $str)
  • $str
getBlockTypeDescription (line 16)
  • access: public
void getBlockTypeDescription ()

Redefinition of:
BlockController::getBlockTypeDescription()
Returns the description of the block type
getBlockTypeName (line 20)
  • access: public
void getBlockTypeName ()

Redefinition of:
BlockController::getBlockTypeName()
Returns the name of the block type
getContent (line 24)
void getContent ()
getContentEditMode (line 39)
void getContentEditMode ()
getSearchableContent (line 29)
  • access: public
void getSearchableContent ()
save (line 197)
void save ( $data)
  • $data

Redefinition of:
BlockController::save()
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.
translateFrom (line 79)
void translateFrom ( $text)
  • $text
translateFromEditMode (line 44)
void translateFromEditMode ( $text)
  • $text
translateTo (line 172)
void translateTo ( $text)
  • $text

Inherited Methods

Inherited From BlockController

 BlockController::__construct()
 BlockController::addHeaderItem()
 BlockController::cacheBlockOutput()
 BlockController::cacheBlockOutputForRegisteredUsers()
 BlockController::cacheBlockOutputOnPost()
 BlockController::cacheBlockRecord()
 BlockController::delete()
 BlockController::duplicate()
 BlockController::field()
 BlockController::get()
 BlockController::getBlockControllerData()
 BlockController::getBlockObject()
 BlockController::getBlockTypeCacheOutputLifetime()
 BlockController::getBlockTypeDescription()
 BlockController::getBlockTypeName()
 BlockController::getCollectionObject()
 BlockController::getIdentifier()
 BlockController::getInterfaceHeight()
 BlockController::getInterfaceWidth()
 BlockController::getJavaScriptStrings()
 BlockController::getPermissionsObject()
 BlockController::getSets()
 BlockController::includeAll()
 BlockController::install()
 BlockController::isActiveWhenAdded()
 BlockController::isBlockTypeInternal()
 BlockController::isCopiedWhenPropagated()
 BlockController::load()
 BlockController::outputAutoHeaderItems()
 BlockController::post()
 BlockController::render()
 BlockController::save()
 BlockController::set()
 BlockController::setupAndRun()
 BlockController::uninstall()
 BlockController::validate()
 BlockController::__wakeup()

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:20 -0700 by phpDocumentor 1.4.1