PHP Class MetaModels\Widgets\MultiTextWidget

Inheritance: extends Widget
Show file Open project: metamodels/core

Protected Properties

Property Type Description
$blnSubmitInput boolean Submit user input.
$strTemplate string The template to use.

Public Methods

Method Description
__set ( string $strKey, mixed $varValue ) : void Add specific attributes.
generate ( ) : string Generate the widget and return it as string.

Protected Methods

Method Description
validator ( mixed $varInput ) : mixed Trim the values and validate them.

Method Details

__set() public method

Add specific attributes.
public __set ( string $strKey, mixed $varValue ) : void
$strKey string Name of the key to set.
$varValue mixed The value to use.
return void

generate() public method

Generate the widget and return it as string.
public generate ( ) : string
return string

validator() protected method

Trim the values and validate them.
protected validator ( mixed $varInput ) : mixed
$varInput mixed The value to process.
return mixed The processed value

Property Details

$blnSubmitInput protected property

Submit user input.
protected bool $blnSubmitInput
return boolean

$strTemplate protected property

The template to use.
protected string $strTemplate
return string