widgets\MaskedInputAsset $sourcePath

$sourcePath public property public $sourcePath = '@bower/jquery.inputmask/dist'

widgets\MaskedInputAsset $js

$js public property public $js = ['jquery.inputmask.bundle.js']

widgets\MaskedInputAsset $depends

$depends public property public $depends = ['yii\web\YiiAsset']

widgets\MaskedInput run()

run() public method Executes the widget. public string run ( )return string The result of widget execution to be outputted.

widgets\MaskedInput registerClientScript()

registerClientScript() public method Registers the needed client script and options. public void registerClientScript ( )

widgets\MaskedInput initClientOptions()

initClientOptions() protected method Initializes client options protected void initClientOptions ( )

widgets\MaskedInput init()

init() public method Initializes the widget. public void init ( )throws yii\base\InvalidConfigException if the "mask" property is not set.

widgets\MaskedInput hashPluginOptions()

hashPluginOptions() protected method Generates a hashed variable to store the plugin clientOptions. Helps in reusing the variable for similar options passed for other widgets on the same page. The following special data attribute will also be added to the input field to allow accessing the client options via javascript: 'data-plugin-inputmask' will store the hashed variable storing the plugin options. protected void hashPluginOptions ( $view )$view yii\web\View The view instance

widgets\MaskedInput $_hashVar

$_hashVar protected property The hashed variable to store the pluginOptions protected string $_hashVar = null

widgets\MaskedInput $type

$type public property (available since version 2.0.6) The type of the input tag. Currently only 'text' and 'tel' are supported. See also https://github.com/RobinHerbots/jquery.inputmask. public string $type = 'text'