Trait Rendering
Trait for class \MvcCore\Ext\Forms\Field
containing field rendering methods.
Direct Known Users
MvcCore\Ext\Forms\FieldIndirect Known Users
MvcCore\Ext\Forms\Fields\Button, MvcCore\Ext\Forms\Fields\ButtonInput, MvcCore\Ext\Forms\Fields\File, MvcCore\Ext\Forms\Fields\Hidden, MvcCore\Ext\Forms\Fields\Image, MvcCore\Ext\Forms\Fields\LocalizationSelect, MvcCore\Ext\Forms\Fields\Month, MvcCore\Ext\Forms\Fields\Number, MvcCore\Ext\Forms\Fields\Password, MvcCore\Ext\Forms\Fields\RadioGroup, MvcCore\Ext\Forms\Fields\Range, MvcCore\Ext\Forms\Fields\ResetButton, MvcCore\Ext\Forms\Fields\Checkbox, MvcCore\Ext\Forms\Fields\ResetInput, MvcCore\Ext\Forms\Fields\Search, MvcCore\Ext\Forms\Fields\Select, MvcCore\Ext\Forms\Fields\SubmitButton, MvcCore\Ext\Forms\Fields\SubmitInput, MvcCore\Ext\Forms\Fields\Tel, MvcCore\Ext\Forms\Fields\Text, MvcCore\Ext\Forms\Fields\Textarea, MvcCore\Ext\Forms\Fields\Time, MvcCore\Ext\Forms\Fields\Url, MvcCore\Ext\Forms\Fields\CheckboxGroup, MvcCore\Ext\Forms\Fields\Week, MvcCore\Ext\Forms\FieldsGroup, MvcCore\Ext\Forms\Fields\Color, MvcCore\Ext\Forms\Fields\CountrySelect, MvcCore\Ext\Forms\Fields\DataList, MvcCore\Ext\Forms\Fields\Date, MvcCore\Ext\Forms\Fields\DateTime, MvcCore\Ext\Forms\Fields\Email
public
string
|
|
public
string
|
#
RenderTemplate( )
This INTERNAL method is called from |
public
string
|
#
RenderNaturally( )
This INTERNAL method is called from |
public
string
|
#
RenderLabelAndControl( )
This INTERNAL method is called from |
public
string
|
#
RenderControlInsideLabel( )
This INTERNAL method is called from |
public
string
|
#
RenderControl( )
This INTERNAL method is called from |
public
string
|
#
RenderLabel( )
This INTERNAL method is called from |
public
string
|
#
RenderErrors( )
This INTERNAL method is called from |
protected
string
|
#
renderLabelAttrsWithFieldVars( string[] $fieldVars = [] )
Complete HTML attributes and css classes strings for label element by selected field variables from $this field context only if called $fieldVars item in $this field context is something different then NULL value. Automatically render into attributes and css classes also system field properties: 'Disabled', 'Readonly' and 'Required' in boolean mode. All named field context properties translate into attributes names and css classes strings from PascalCase into dashed-case. |
protected
string
|
#
renderControlAttrsWithFieldVars( string[] $fieldVars = [] )
Complete HTML attributes and css classes strings for control element by selected field variables from $this field context only if called $fieldVars item in $this field context is something different then NULL value. Automatically render into attributes and css classes also system field properties: 'Disabled', 'Readonly' and 'Required' in boolean mode. All named field context properties translate into attributes names and css classes strings from PascalCase into dashed-case. |
protected
string
|
#
renderAttrsWithFieldVars( string[] $fieldVars = [], array $fieldAttrs = [], array $cssClasses = [], boolean $controlRendering = FALSE )
Complete HTML attributes and css classes strings for label/control element by selected field variables from $this field context only if called $fieldVars item in $this field context is something different then NULL value. Automatically render into attributes and css classes also system field properties: 'Disabled', 'Readonly' and 'Required' in boolean mode. All named field context properties translate into attributes names and css classes strings from PascalCase into dashed-case. Only if fourth param is false, do not add system attributes in boolean mode into attributes, only into css class. |