class BlockControl extends Control (View source)

Properties

$error from  ConcreteObject
protected $page from  Control
protected $ptComposerControlIdentifier from  Control
protected $ptComposerControlName from  Control
protected $ptComposerControlIconSRC from  Control
protected $ptComposerControlIconFormatter from  Control
protected $ptComposerControl from  Control
protected $ptComposerControlRequiredByDefault from  Control
protected $ptComposerControlRequiredOnThisRequest from  Control
protected $ptComposerControlCustomLabel from  Control
protected $ptComposerControlDescription from  Control
protected $btID
protected $ptComposerControlTypeHandle
protected $bt
protected $b
protected $controller

Methods

loadError($error)

No description

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

static 
camelcase($file)

No description

static 
uncamelcase($string)

No description

render($label, $customTemplate, $description)

No description

publishToPage(Page $c, $data, $controls)

No description

validate()

No description

addAssetsToRequest(Controller $cnt)

No description

export($node)

No description

onPageDraftCreate(Page $c)

No description

setPageTypeComposerControlName($ptComposerControlName)

No description

from  Control
setPageTypeComposerControlCustomLabel($label)

No description

from  Control
setPageTypeComposerControlDescription($description)

No description

from  Control
setPageObject($page)

No description

from  Control
getPageObject()

No description

from  Control
setTargetParentPageID($ptTargetParentPageID)

No description

from  Control
getTargetParentPageID()

No description

from  Control
from  Control
getPageTypeComposerControlDisplayName($format = 'html')

No description

from  Control
setPageTypeComposerControlIconSRC($ptComposerControlIconSRC)

No description

from  Control
setPageTypeComposerControlIconFormatter($ptComposerControlIconFormatter)

No description

from  Control
from  Control
setPageTypeComposerControlIdentifier($ptComposerControlIdentifier)

No description

from  Control
field($key)

No description

from  Control
getRequestValue($args = false)

No description

from  Control
static 
getList(Type $pagetype)

No description

from  Control
objectExists()

No description

from  Control
setBlockTypeID($btID)

No description

getBlockTypeID()

No description

getBlockTypeObject()

No description

getController($obj)

No description

action($task)

No description

inc($file, $args = [])

No description

recordPageTypeComposerOutputBlock(Block $block)

No description

Details

loadError($error)

No description

Parameters

$error

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

Parameters

$arr

static camelcase($file)

No description

Parameters

$file

static uncamelcase($string)

No description

Parameters

$string

getPageTypeComposerControlCustomTemplates()

No description

render($label, $customTemplate, $description)

No description

Parameters

$label
$customTemplate
$description

publishToPage(Page $c, $data, $controls)

No description

Parameters

Page $c
$data
$controls

validate()

No description

getPageTypeComposerControlDraftValue()

No description

addAssetsToRequest(Controller $cnt)

No description

Parameters

Controller $cnt

export($node)

No description

Parameters

$node

shouldPageTypeComposerControlStripEmptyValuesFromPage()

No description

isPageTypeComposerControlValueEmpty()

No description

removePageTypeComposerControlFromPage()

No description

pageTypeComposerFormControlSupportsValidation()

No description

onPageDraftCreate(Page $c)

No description

Parameters

Page $c

setPageTypeComposerControlName($ptComposerControlName)

No description

Parameters

$ptComposerControlName

setPageTypeComposerFormControlRequired($req)

No description

Parameters

$req

setPageTypeComposerControlCustomLabel($label)

No description

Parameters

$label

getPageTypeComposerControlCustomLabel()

No description

setPageTypeComposerControlDescription($description)

No description

Parameters

$description

getPageTypeComposerControlDescription()

No description

setPageObject($page)

No description

Parameters

$page

getPageObject()

No description

setTargetParentPageID($ptTargetParentPageID)

No description

Parameters

$ptTargetParentPageID

getTargetParentPageID()

No description

isPageTypeComposerFormControlRequiredOnThisRequest()

No description

getPageTypeComposerControlName()

No description

getPageTypeComposerControlDisplayName($format = 'html')

No description

Parameters

$format

setPageTypeComposerControlIconSRC($ptComposerControlIconSRC)

No description

Parameters

$ptComposerControlIconSRC

setPageTypeComposerControlIconFormatter($ptComposerControlIconFormatter)

No description

Parameters

$ptComposerControlIconFormatter

getPageTypeComposerControlIcon()

No description

setPageTypeComposerControlIdentifier($ptComposerControlIdentifier)

No description

Parameters

$ptComposerControlIdentifier

getPageTypeComposerControlIdentifier()

No description

getPageTypeComposerControlTypeObject()

No description

getPageTypeComposerControlTypeHandle()

No description

setPageTypeComposerFormLayoutSetControlObject(FormLayoutSetControl $setcontrol)

No description

Parameters

FormLayoutSetControl $setcontrol

getPageTypeComposerFormLayoutSetControlObject()

No description

field($key)

No description

Parameters

$key

getRequestValue($args = false)

No description

Parameters

$args

FormLayoutSetControl addToPageTypeComposerFormLayoutSet(FormLayoutSet $set, $import = false)

No description

Parameters

FormLayoutSet $set
$import

Return Value

FormLayoutSetControl

canPageTypeComposerControlSetPageName()

No description

getPageTypeComposerControlPageNameValue(Page $dc)

No description

Parameters

Page $dc

static getList(Type $pagetype)

No description

Parameters

Type $pagetype

isPageTypeComposerControlRequiredByDefault()

No description

objectExists()

No description

setBlockTypeID($btID)

No description

Parameters

$btID

getBlockTypeID()

No description

getPageTypeComposerControlBlockObject(Page $c)

No description

Parameters

Page $c

setPageTypeComposerControlBlockObject($b)

No description

Parameters

$b

getBlockTypeObject()

No description

protected getController($obj)

No description

Parameters

$obj

action($task)

No description

Parameters

$task

inc($file, $args = [])

No description

Parameters

$file
$args

recordPageTypeComposerOutputBlock(Block $block)

No description

Parameters

Block $block