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

TagCloudElement Class Reference

Inheritance diagram for TagCloudElement:
MultiSelectRelatedModelsAutoCompleteElement Element DerivedElementInterface

Public Member Functions

 getIdForSelectInput ()

Protected Member Functions

 getFormName ()
 assertModelType ()
 getWidgetSourceUrl ()
 getUnqualifiedIdForIdField ()
 getUnqualifiedNameForIdField ()
 getWidgetHintText ()
 getRelationName ()
 getRelatedRecords ()
 resolveIdAndNameByModel (RedBeanModel $customFieldValue)
 getFormattedAttributeLabel ()
 getEditableInputId ($attributeName=null, $relationAttributeName=null)
 getEditableInputName ($attributeName=null, $relationAttributeName=null)
 renderError ()
 renderLabel ()
 generateElementTooltipHelpContent ($id)

Protected Attributes

 $dataAndLabels = null

Detailed Description

Definition at line 37 of file TagCloudElement.php.


Member Function Documentation

getFormName (  )  [protected]
Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 42 of file TagCloudElement.php.

assertModelType (  )  [protected]

Asserts that element is attached to a form with a model type that we are indeed expecting

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 47 of file TagCloudElement.php.

getWidgetSourceUrl (  )  [protected]

Returns the source url widget should hit to request data for autocomplete

Returns:
mixed

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 52 of file TagCloudElement.php.

getUnqualifiedIdForIdField (  )  [protected]
Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 58 of file TagCloudElement.php.

getUnqualifiedNameForIdField (  )  [protected]
Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 63 of file TagCloudElement.php.

getWidgetHintText (  )  [protected]

Returns the hint text display in widget

Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 68 of file TagCloudElement.php.

getRelationName (  )  [protected]

Returns the relation name we would query when generated existing Ids and Labels

Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 73 of file TagCloudElement.php.

getRelatedRecords (  )  [protected]

Computes Related records for current model using relationName, returns an array

Returns:
array

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 78 of file TagCloudElement.php.

resolveIdAndNameByModel ( RedBeanModel model  )  [protected]

Resolve an array with id and name using the sent model

Parameters:
$model 
Returns:
array

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 85 of file TagCloudElement.php.

getFormattedAttributeLabel (  )  [protected]

Returns formatted display name

Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 105 of file TagCloudElement.php.

getEditableInputId ( attributeName = null,
relationAttributeName = null 
) [protected]

An input Id is typically formed like: modelClassName_attributeName or modelClassName_attributeName_relationAttributeName. This method resolves the input Id string.

Parameters:
string $attributeName
string $relationAttributeName
Returns:
string representing the content of the input id.

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 110 of file TagCloudElement.php.

getEditableInputName ( attributeName = null,
relationAttributeName = null 
) [protected]

An input name is typically formed like: modelClassName[attributeName] or modelClassName[attributeName][relationAttributeName]. This method resolves the input name string. Also handles scenarios where attributeName has something like abc[def]. This method will properly account for that.

Parameters:
string $attributeName
string $relationAttributeName
Returns:
string representing the content of the input name.

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 116 of file TagCloudElement.php.

renderError (  )  [protected]

Generate the error content. Used by editable content

Returns:
error content

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 126 of file TagCloudElement.php.

renderLabel (  )  [protected]

Generate the element label content

Returns:
A string containing the element's label

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 143 of file TagCloudElement.php.

generateElementTooltipHelpContent ( id  )  [protected]

Generate the element tooltip help content

Returns:
A string containing the element's tooltip

Definition at line 169 of file TagCloudElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 24 07:11:00 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