FilesElement Class Reference

Inheritance diagram for FilesElement:
ModelsElement DerivedElementInterface ElementActionTypeInterface Element

Static Public Member Functions

static getDisplayName ()
static getModelAttributeNames ()
static getEditableActionType ()
static getNonEditableActionType ()
static getEditableTemplateForInlineEdit ()

Protected Member Functions

 renderControlNonEditable ()
 renderControlEditable ()
 renderError ()
 renderLabel ()
 getFormattedAttributeLabel ()
 getShowMaxSize ()
 getId ()

Detailed Description

User interface element for managing file attachments against a given model.

Definition at line 41 of file FilesElement.php.


Member Function Documentation

renderError (  )  [protected]

Generate the error content. Used by editable content

Returns:
error content

Reimplemented from Element.

Definition at line 100 of file FilesElement.php.

renderLabel (  )  [protected]

Generate the element label content

Returns:
A string containing the element's label

Reimplemented from Element.

Definition at line 104 of file FilesElement.php.

static getModelAttributeNames (  )  [static]

Get the attributeNames of attributes used in the derived element. For this element, there are no attributes from the model.

Returns:
array - empty

Implements DerivedElementInterface.

Definition at line 124 of file FilesElement.php.

static getEditableActionType (  )  [static]

Gets the action type for the related model's action that is called by the select button or the autocomplete feature in the Editable render.

Implements ElementActionTypeInterface.

Definition at line 134 of file FilesElement.php.

static getNonEditableActionType (  )  [static]

Gets the action type for the related model's action that is called by the link in the nonEditable render.

Implements ElementActionTypeInterface.

Definition at line 139 of file FilesElement.php.

static getEditableTemplateForInlineEdit (  )  [static]
Returns:
string content

Definition at line 161 of file FilesElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Apr 27 07:10:25 2017