SproutCMS

This is the code documentation for the SproutCMS project

function text()

Returns HTML for a text field, using Fb::text to generate the field itself

Usage

string Form::text ( string $name , array $attrs );

Arguments

  1. string $name
    The name of the input field
  2. array $attrs
    Extra attributes for the input field

Return value

  • string
    HTML