Class Block

Concrete\Core\Foundation\Object
Extended by Concrete\Core\Block\Block implements Concrete\Core\Permission\ObjectInterface
Namespace: Concrete\Core\Block
Located at src/Block/Block.php

Methods summary

public static
# populateManually( $blockInfo, $c, $a )
public static
# getByName( $blockName )

Returns a block.

public static
# getByID( $bID, $c = null, $a = null )
public
public
public
public
public
public
public
public
# setProxyBlock( $block )
public
# display( $view = 'view' )
public
# isGlobal( )
public
public
public
public
public
public
public
# setBlockCachedOutput( $content, $lifetime, $area )
public
# inc( $file )
public
public
public
public
public
public
public
public
public
public
public
public
public
public
# update( $data )
public
public
public
# isActive( )
public
public
# activate( )
public
# alias( $c )
public
public
public
public
public
public
public
public
# disableBlockContainer( )

Called by the scrapbook proxy block, this disables the original block container for the current request, because the scrapbook block takes care of rendering the container.

public
public
public
public
public
public boolean
# move( Collection $collection, Area $area )

Move block to a new collection.

public
# duplicate( $nc, $isCopyFromMasterCollectionPropagation = false )
public
# getCustomStyle( $force = false )
public
public
# setCustomContainerSettings( $enableBlockContainer )
public
public
# setCustomCacheSettings( $enabled, $enabledOnPost, $enabledForRegistered, $lifetime )
public
public
public
public
# refreshCache( )

Removes a cached version of the block.

public
public
public
public string
# getBlockDateAdded( )

Gets the date the block was added.

public
public
# setBlockActionCollectionID( $bActionCID )
public
public
public integer|false
# getBlockActionCollectionID( )
public
public
public
public
# delete( $forceDelete = false )
public
# deleteBlock( $forceDelete = false )
public
# isAlias( $c = null )
public
# setOriginalBlockID( $originalBID )
public
public
public
public
public
# setCustomTemplate( $template )
public
public
# setName( $name )
public
public
# export( $node, $exportType = 'full' )
public
public
public

Properties summary

protected $cID
#
protected $arHandle
#
protected $c
#
protected $issID
#
protected boolean $proxyBlock
# false
protected $bActionCID
#
protected $cacheSettings
#
public $a
#
protected $bFilename
#

Properties inherited from Concrete\Core\Foundation\Object

$error