AttributeLabelElement Class Reference

Inheritance diagram for AttributeLabelElement:
LabelElement DerivedElementInterface Element

Public Member Functions

 __construct ($model, $attribute, $form=null, array $params=array())

Static Public Member Functions

static getModelAttributeNames ()

Protected Member Functions

 renderLabel ()

Detailed Description

Element for displaying an attribute's label. This is used by the designer module to allow a user to change the attribute's label values for all supported languages.

Definition at line 41 of file AttributeLabelElement.php.

Constructor & Destructor Documentation

__construct ( model,
form = null,
array $  params = array() 

Constructs the element specifying the model and attribute. In the case of needing to show editable information, a form is also provided.

$form Optional. If supplied an editable element will be rendered.
$params Can have additional parameters for use. 'wide' true or false is an example parameter

Reimplemented from Element.

Definition at line 43 of file AttributeLabelElement.php.

Member Function Documentation

static getModelAttributeNames (  )  [static]

Get the attributeNames of attributes used in the derived element.

array of model attributeNames used.

Implements DerivedElementInterface.

Definition at line 54 of file AttributeLabelElement.php.

renderLabel (  )  [protected]

Always show attribute label without label tag.

Reimplemented from LabelElement.

Definition at line 64 of file AttributeLabelElement.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon May 29 07:10:22 2017