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\GoogleMap\Controller
Namespace: Concrete\Block\GoogleMap
Package: Concrete\Core\Application
Located at blocks/google_map/controller.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
public
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

protected string $btTable
# 'btGoogleMap'
protected string $btInterfaceWidth
# "400"
protected string $btInterfaceHeight
# "320"
protected boolean $btCacheBlockRecord
# true
protected boolean $btCacheBlockOutput
# true
protected boolean $btCacheBlockOutputOnPost
# true
protected boolean $btCacheBlockOutputForRegisteredUsers
# false
public string $title
# ""
public string $location
# ""
public string $latitude
# ""
public string $longitude
# ""
public boolean $scrollwheel
# true
public integer $zoom
# 14