All Data Structures Functions Variables Pages
Protected Member Functions
TextElement Class Reference
Inheritance diagram for TextElement:
Element AnyMixedAttributesSearchElement AutoCompleteTextElement AutomaticProbabilityMappingDisabledElement AutoresponderSubjectElement BaseDomainElement BatchConfigIntegerElement CampaignItemSummaryElement CurrencyCodeElement CurrencyValueAndCurrencyIdForWorkflowActionAttributeElement CurrencyValueElement DecimalElement EmailElement ExportFileNameElement GameRewardRedeemSummaryElement IntegerElement MarketingListMemberNameAndStatusElement MashableInboxSearchElement MemcacheTextElement PasswordElement PersonCastedAsItemElement PhoneElement PolicyEffectivePasswordExpiryElement StageToProbabilityMappingElement StageToRottingMappingElement UrlElement

Protected Member Functions

 renderControlEditable ()
 
 renderControlNonEditable ()
 
 resolveEditableHtmlOptionsInputValue (&$htmlOptions)
 
- 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 ()
 

Additional Inherited Members

- Public Member Functions inherited from Element
 __construct ($model, $attribute, $form=null, array $params=array())
 
 render ()
 
 getEditableNameIds ()
 
 getAttribute ()
 
 renderAsControlNonEditable ()
 
- Static Public Member Functions inherited from Element
static getDisplayName ()
 
static isReadOnly ()
 
static resolveInputNameForEditableInput ($attributeName)
 
static resolveInputNamePrefixIntoString ($inputNamePrefix)
 
static resolveInputIdPrefixIntoString ($inputIdPrefix)
 
- 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 Attributes inherited from Element
 $model
 
 $attribute
 
 $form
 

Detailed Description

Displays the standard text field rendered as a text input box.

Definition at line 41 of file TextElement.php.

Member Function Documentation

renderControlEditable ( )
protected

Render A standard text input.

Returns
The element's content as a string.

Definition at line 47 of file TextElement.php.

renderControlNonEditable ( )
protected

Renders the attribute from the model.

Returns
The element's content.

Definition at line 71 of file TextElement.php.

resolveEditableHtmlOptionsInputValue ( $htmlOptions)
protected

Resolve input value in case it is numeric and less than zero for id attribute

Parameters
array$htmlOptions

Definition at line 80 of file TextElement.php.


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 2020 07:11:23