NAMESPACE: packages/actionMexample/Components

Components/getPhoneNumberField.php

public function getPhoneNumberField($country,$field,$title,$icon)

parameters

$country param string $country country name
$field field name or id
$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

$country
$field
$title
$icon