class Element implements LocatableFileInterface (View source)

Class Element An object-oriented wrapper for core element functionality, with support for events, locators, controllers and elements.

Properties

protected $element
protected $variables
protected $pkgHandle
protected $locator
protected $page
protected $controller
protected $controllerArguments

Methods

__construct($element)

Element constructor.

populateFromArguments($args)

No description

getBaseLocator()

No description

getLocator()

No description

createLocator()

No description

getElementPath()

No description

exists()

No description

getFileLocatorRecord()

No description

set($key, $value)

No description

render()

No description

Details

__construct($element)

Element constructor.

Parameters

$element

populateFromArguments($args)

Parameters

$args

protected getBaseLocator()

FileLocator getLocator()

Return Value

FileLocator

protected createLocator()

getElementPath()

exists()

Record getFileLocatorRecord()

Return Value

Record

set($key, $value)

Parameters

$key
$value

ElementController getElementController()

Return Value

ElementController

render()