Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ImageElement Class Reference

Inheritance diagram for ImageElement:
Element ElementActionTypeInterface

Public Member Functions

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

Static Public Member Functions

static getEditableActionType ()
static getNonEditableActionType ()

Data Fields

const IMAGE_SELECT_LINK_CLASS_NAME = 'image-select-link'
const IMAGE_EDIT_LINK_CLASS_NAME = 'image-edit-link'

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 Attributes

 $image

Detailed Description

Display an image selection

Definition at line 40 of file ImageElement.php.


Constructor & Destructor Documentation

__construct ( model,
attribute,
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.

Parameters:
$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 48 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:
 All Data Structures Functions Variables
Generated on Wed Feb 20 07:10:49 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8