Development

Changeset 26964

You must first sign up to be able to contribute.

Changeset 26964

Show
Ignore:
Timestamp:
01/21/10 09:04:37 (3 years ago)
Author:
garak
Message:

[doc][1.4] fixed form docs for some I18n widgets/validators

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.4/forms/en/A-Widgets.txt

    r26773 r26964  
    166166 * [`sfWidgetFormI18nChoiceLanguage`](A-Widgets#chapter_a_sub_sfwidgetformi18nchoicelanguage) 
    167167 * [`sfWidgetFormI18nChoiceCurrency`](A-Widgets#chapter_a_sub_sfwidgetformI18nchoicecurrency) 
     168 * [`sfWidgetFormI18nChoiceTimezone`](A-Widgets#chapter_a_sub_sfwidgetformI18nchoicetimezone) 
    168169 * [`sfWidgetFormI18nTime`](A-Widgets#chapter_a_sub_sfwidgetformi18ntime) 
    169170 * [`sfWidgetFormInput`](A-Widgets#chapter_a_sub_sfwidgetforminput) 
     
    933934| Option      | Description 
    934935| ----------- | ----------- 
    935 | `culture`   | The culture to use for internationalized strings (required
     936| `culture`   | The culture to use for internationalized strings (default: `en`
    936937| `countries` | An array of country codes to use (ISO 3166) 
    937938| `add_empty` | Whether to add a first empty value or not (`false` by default) 
     
    949950| Option      | Description 
    950951| ----------- | ----------- 
    951 | `culture`   | The culture to use for internationalized strings (required
     952| `culture`   | The culture to use for internationalized strings (default: `en`
    952953| `languages` | An array of language codes to use 
    953954| `add_empty` | Whether to add a first empty value or not (`false` by default) 
     
    967968| `culture`    | The culture to use for internationalized strings (required) 
    968969| `currencies` | An array of currency codes to use 
     970| `add_empty`  | Whether to add a first empty value or not (`false` by default) 
     971|              | If the option is not a Boolean, the value will be used as the text value. 
     972 
     973### ~`sfWidgetFormI18nChoiceTimezone`~ 
     974 
     975The `sfWidgetFormI18nChoiceTimezone` represents a choice of timzones: 
     976 
     977    [php] 
     978    $w = new sfWidgetFormI18nChoiceTimezone(array('culture' => 'fr')); 
     979 
     980| Option       | Description 
     981| ------------ | ----------- 
     982| `culture`    | The culture to use for internationalized strings (default: `en`) 
    969983| `add_empty`  | Whether to add a first empty value or not (`false` by default) 
    970984|              | If the option is not a Boolean, the value will be used as the text value. 
  • doc/branches/1.4/forms/en/B-Validators.txt

    r26773 r26964  
    688688valid timezone. 
    689689 
     690| Option      | Error     | Description 
     691| ----------- | --------- | ----------- 
     692| `languages` | `invalid` | An array of languages to use 
    690693 
    691694Propel Validators