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

Class Concrete5_Controller_Block_Image

A block controller for displaying an image on a page.

Concrete5_Library_Controller
Extended by Controller
Extended by Concrete5_Library_BlockController
Extended by BlockController
Extended by Concrete5_Controller_Block_Image

Direct known subclasses

ImageBlockController

Package: Blocks\Image
Copyright: Copyright (c) 2003-2012 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Author: Tony Trupp tony@concrete5.org
Author: Ryan Tyler ryan@concrete5.org
Author: Jordan Lev
Located at core/controllers/blocks/image.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

public
# getJavaScriptStrings( )

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

public
public
public
public
public
public
public
public
# save( array $args )

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
# getContentAndGenerate( $align = false, $style = false, $id = null )

Properties summary

protected integer $btInterfaceWidth
# 400
protected integer $btInterfaceHeight
# 550
protected string $btTable
# 'btContentImage'
protected boolean $btCacheBlockRecord
# true
protected boolean $btCacheBlockOutput
# true
protected boolean $btCacheBlockOutputOnPost
# true
protected boolean $btCacheBlockOutputForRegisteredUsers
# true
protected string $btWrapperClass
# 'ccm-ui'
protected array $btExportFileColumns
# array('fID','fOnstateID')