This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Controller_Block_Html

A block controller for displaying HTML content on a page.

Concrete5_Library_Controller
Extended by Controller
Extended by Concrete5_Library_BlockController
Extended by BlockController
Extended by Concrete5_Controller_Block_Html

Direct known subclasses

HtmlBlockController

Package: Blocks\HTML
Copyright: Copyright (c) 2003-2012 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at core/controllers/blocks/html.php

Methods summary

public string
# getBlockTypeDescription( )

Returns the description of the block type

public string
# getBlockTypeName( )

Returns the name of the block type

public
# __construct( BlockType $obj = null )

Instantiates the block controller.

public
# view( )
public
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.

public

Properties summary

protected string $btTable
# 'btContentLocal'
protected string $btInterfaceWidth
# "600"
protected string $btWrapperClass
# 'ccm-ui'
protected string $btInterfaceHeight
# "465"
protected boolean $btCacheBlockRecord
# true
protected boolean $btCacheBlockOutput
# true
protected boolean $btCacheBlockOutputOnPost
# true
protected boolean $btCacheBlockOutputForRegisteredUsers
# true
public string $content
# ""