Style helper methods

package midgard.admin.asgard

 Methods

__construct ($data)

Parameters

$data

render_help ()

_get_component_default_elements (string $component)

List the default template elements shipped with a component

Parameters

$component

stringComponent to look elements for

Returns

arrayList of elements found indexed by the element name

_get_help_element ()

_get_help_style_elementnames (\midcom_db_style $style)

Helper for suggesting element names to create under a style

Parameters

$style

_get_nodes_inheriting_style ($node)

Parameters

$node

_get_nodes_using_style (string $style)

Get list of topics using a particular style

Parameters

$style

stringStyle path

Returns

arrayList of folders

_get_style_elements_and_nodes ($style_id)

Parameters

$style_id

 Properties

 

array $_data

The current request data