SproutCMS

This is the code documentation for the SproutCMS project

function phone()

Renders a HTML5 phone number field (type=tel)

Usage

string Fb::phone ( string $name , array $attrs , array $params );

Arguments

  1. string $name
    Field name
  2. array $attrs
    Extra attributes for the INPUT element
  3. array $params
    Ignored

Return value

  • string
    INPUT element