SproutCMS

This is the code documentation for the SproutCMS project

function money()

Shows a HTML5 number field, formatted for dollar prices

Usage

string Fb::money ( string $name , array $attrs , array $options );

Arguments

  1. string $name
    The name of the input field
  2. array $attrs
    Extra attributes for the input field; 'min' and 'max' being particularly relevant
  3. array $options

Return value

  • string
    INPUT element