NAMESPACE: packages/actionMexample/Components

Components/getIconField.php

public function getIconField($field,$title,$icon)

Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301

Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302

This will automatically set input type for eamil, phone and password accordingly, based on the $field

parameters

$field Field name or ID. This is accessible from the model when view is submitted.
$title param string $title Title for the field. Recommended to be provided as a localization string like this: {#name#}
$icon param string $icon Icon file name. Icon should be put under images directory.

variable

$field
$title
$icon