class Control extends ConcreteObject (View source)

Properties

$error from ConcreteObject
protected $ptComposerControlIdentifier
protected $ptComposerControlName
protected $ptComposerControlIconSRC
protected $ptComposerControlIconFormatter
protected $ptComposerControl
protected $ptComposerControlRequiredByDefault
protected $ptComposerControlRequiredOnThisRequest
protected $ptComposerControlCustomLabel
protected $ptComposerControlDescription

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

setPageTypeComposerControlCustomLabel($label)

No description

setPageTypeComposerControlDescription($description)

No description

setPageObject($page)

No description

getPageObject()

No description

setTargetParentPageID($ptTargetParentPageID)

No description

getTargetParentPageID()

No description

getPageTypeComposerControlDisplayName($format = 'html')

No description

setPageTypeComposerControlIconSRC($ptComposerControlIconSRC)

No description

setPageTypeComposerControlIconFormatter($ptComposerControlIconFormatter)

No description

setPageTypeComposerControlIdentifier($ptComposerControlIdentifier)

No description

field($key)

No description

getRequestValue($args = false)

No description

static 
getList(Type $pagetype)

No description

objectExists()

No description

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

abstract getPageTypeComposerControlCustomTemplates()

abstract render($label, $customTemplate, $description)

Parameters

$label
$customTemplate
$description

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

Parameters

Page $c
$data
$controls

abstract validate()

abstract getPageTypeComposerControlDraftValue()

abstract addAssetsToRequest(Controller $cnt)

Parameters

Controller $cnt

abstract export($node)

Parameters

$node

abstract shouldPageTypeComposerControlStripEmptyValuesFromPage()

abstract isPageTypeComposerControlValueEmpty()

abstract removePageTypeComposerControlFromPage()

pageTypeComposerFormControlSupportsValidation()

onPageDraftCreate(Page $c)

Parameters

Page $c

setPageTypeComposerControlName($ptComposerControlName)

Parameters

$ptComposerControlName

setPageTypeComposerFormControlRequired($req)

Parameters

$req

setPageTypeComposerControlCustomLabel($label)

Parameters

$label

getPageTypeComposerControlCustomLabel()

setPageTypeComposerControlDescription($description)

Parameters

$description

getPageTypeComposerControlDescription()

setPageObject($page)

Parameters

$page

getPageObject()

setTargetParentPageID($ptTargetParentPageID)

Parameters

$ptTargetParentPageID

getTargetParentPageID()

isPageTypeComposerFormControlRequiredOnThisRequest()

getPageTypeComposerControlName()

getPageTypeComposerControlDisplayName($format = 'html')

Parameters

$format

setPageTypeComposerControlIconSRC($ptComposerControlIconSRC)

Parameters

$ptComposerControlIconSRC

setPageTypeComposerControlIconFormatter($ptComposerControlIconFormatter)

Parameters

$ptComposerControlIconFormatter

getPageTypeComposerControlIcon()

setPageTypeComposerControlIdentifier($ptComposerControlIdentifier)

Parameters

$ptComposerControlIdentifier

getPageTypeComposerControlIdentifier()

getPageTypeComposerControlTypeObject()

getPageTypeComposerControlTypeHandle()

setPageTypeComposerFormLayoutSetControlObject(FormLayoutSetControl $setcontrol)

Parameters

FormLayoutSetControl $setcontrol

getPageTypeComposerFormLayoutSetControlObject()

field($key)

Parameters

$key

getRequestValue($args = false)

Parameters

$args

FormLayoutSetControl addToPageTypeComposerFormLayoutSet(FormLayoutSet $set)

Parameters

FormLayoutSet $set

Return Value

FormLayoutSetControl

canPageTypeComposerControlSetPageName()

getPageTypeComposerControlPageNameValue(Page $c)

Parameters

Page $c

static getList(Type $pagetype)

Parameters

Type $pagetype

isPageTypeComposerControlRequiredByDefault()

objectExists()