Class BlockView

Concrete\Core\View\AbstractView
Extended by Concrete\Core\Block\View\BlockView

Methods summary

protected
# constructView( $mixed )
public
public
public
# setAreaObject( Area $area )
public
public
# start( $state )
public string
# action( string $task )

Creates a URL that can be posted or navigated to that, when done so, will automatically run the corresponding method inside the block's controller.

<a href="<?=$this->action('get_results')?>">Get the results</a>
public
public
protected
public
protected
protected
public
public string
# getBlockPath( $filename = null )

Returns the path to the current block's directory.

public string
# getBlockURL( $filename = null )

Returns a relative path to the current block's directory. If a filename is specified it will be appended and searched for as well.

public
# inc( $fileToInclude, $args = array() )
public
protected
public
# field( $field )
public
public
# finishRender( $contents )
public
public
# getThemePath( )

Legacy.

Properties summary

protected $block
#
protected $area
#
protected $blockType
#
protected $blockTypePkgHandle
#
protected $blockViewHeaderFile
#
protected $blockViewFooterFile
#
protected boolean $outputContent
# false
protected boolean $viewToRender
# false
protected boolean $viewPerformed
# false
protected boolean $showControls
# true
protected boolean $didPullFromOutputCache
# false