abstract class Control extends ConcreteObject (View source)

Properties

$error from  ConcreteObject
protected $page
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)

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

abstract getPageTypeComposerControlCustomTemplates()

No description

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

No description

Parameters

$label
$customTemplate
$description

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

No description

Parameters

Page $c
$data
$controls

abstract validate()

No description

abstract getPageTypeComposerControlDraftValue()

No description

abstract addAssetsToRequest(Controller $cnt)

No description

Parameters

Controller $cnt

abstract export($node)

No description

Parameters

$node

abstract shouldPageTypeComposerControlStripEmptyValuesFromPage()

No description

abstract isPageTypeComposerControlValueEmpty()

No description

abstract 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)

No description

Parameters

FormLayoutSet $set

Return Value

FormLayoutSetControl

canPageTypeComposerControlSetPageName()

No description

getPageTypeComposerControlPageNameValue(Page $c)

No description

Parameters

Page $c

static getList(Type $pagetype)

No description

Parameters

Type $pagetype

isPageTypeComposerControlRequiredByDefault()

No description

objectExists()

No description