All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes
ImageElement Class Reference
Inheritance diagram for ImageElement:
Element ElementActionTypeInterface

Public Member Functions

 __construct ($model, $attribute, $form=null, array $params=array())
 
- Public Member Functions inherited from Element
 __construct ($model, $attribute, $form=null, array $params=array())
 
 render ()
 
 getEditableNameIds ()
 
 getAttribute ()
 
 renderAsControlNonEditable ()
 

Static Public Member Functions

static getEditableActionType ()
 
static getNonEditableActionType ()
 
- Static Public Member Functions inherited from Element
static getDisplayName ()
 
static isReadOnly ()
 
static resolveInputNameForEditableInput ($attributeName)
 
static resolveInputNamePrefixIntoString ($inputNamePrefix)
 
static resolveInputIdPrefixIntoString ($inputIdPrefix)
 

Data Fields

const IMAGE_SELECT_LINK_CLASS_NAME = 'image-select-link'
 
const IMAGE_EDIT_LINK_CLASS_NAME = 'image-edit-link'
 
- Data Fields inherited from Element
 $params
 
 $editableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}{error}</td>'
 
 $nonEditableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}</td>'
 

Protected Member Functions

 setImage ($imageId)
 
 renderControlEditable ()
 
 renderQtipForPreviewImage ()
 
 renderControlNonEditable ()
 
 renderImageDetails ()
 
 registerScriptsForEditAndSelectLinks ()
 
 registerImageModalSelectScript ()
 
 registerImageModalEditScript ()
 
 renderImage ($isThumb=false)
 
 getHtmlOptions ()
 
 getIdForSelectLink ()
 
 getIdForEditLink ()
 
 getSelectLinkUrlParams ()
 
 getModalTransferInformation ()
 
 resolveAjaxOptionsForSelectingModel ($formId)
 
 resolveAjaxOptionsForEditingModel ()
 
 getModalTitleForSelectingModel ()
 
 getModalTitleForEditingModel ()
 
 getModalContainerId ()
 
 getAltText ()
 
 getIdForPreviewDiv ()
 
 getApplyLinkId ()
 
- Protected Member Functions inherited from Element
 renderLabel ()
 
 resolveIdForLabel ()
 
 getFormattedAttributeLabel ()
 
 resolveNonActiveFormFormattedLabel ($label)
 
 renderError ()
 
 renderScopedErrorId ($inputNameIdPrefix, $attribute)
 
 renderEditable ()
 
 renderNonEditable ()
 
 renderControlEditable ()
 
 renderControlNonEditable ()
 
 getColumnSpan ()
 
 getDisabledValue ()
 
 getHtmlOptions ()
 
 resolveContentTemplate ($template, $data)
 
 getEditableInputId ($attributeName=null, $relationAttributeName=null)
 
 getEditableInputName ($attributeName=null, $relationAttributeName=null)
 
 resolveInputPrefix ()
 
 resolveInputIdPrefix ()
 
 resolveInputNamePrefix ()
 
 getListViewGridId ()
 

Protected Attributes

 $image
 
- Protected Attributes inherited from Element
 $model
 
 $attribute
 
 $form
 

Detailed Description

Display an image selection

Definition at line 40 of file ImageElement.php.

Member Function Documentation

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 156 of file ImageElement.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 161 of file ImageElement.php.


The documentation for this class was generated from the following file:
Generated on Thu Apr 2 2020 07:10:59