phpDocumentor Naos_Form
[ class tree: Naos_Form ] [ index: Naos_Form ] [ all elements ]

Class: Naos_Form_ValueTransformPrepare

Source Location: /Form/ValueTransformPrepare.php

Class Naos_Form_ValueTransformPrepare

Class Overview

Naos_Form_ValueTransformPrepare provides for every input element type a conversion function, which operates on the value attributes. These functions are called before the specific input element is shown.

The input elements refers to the text attribute in general, therefore the conversion functions should provide a text attribute.

Located in /Form/ValueTransformPrepare.php [line 29]



		
				Author(s):
		
Information Tags:
Copyright:  Copyright (c) 2008 Jupiter GmbH
License:  http://www.naos-framework.com/website.naos.framework/en/license

Methods

[ Top ]
Method Summary
static array|null   checkbox()   Value preparation: Input element "checkbox"
static array|null   date()   Value preparation: Input element "date"
static array|null   datetime()   Value preparation: Input element "datetime"
static array|null   decimal()   Value preparation: Input element "decimal"
static array|null   email()   Value preparation: Input element "email"
static array|null   file()   Value preparation: Input element "file"
static array|null   hidden()   Value preparation: Input element "hidden"
static array|null   jsondata()   Value preparation: Input element "jsondata"
static array|null   password()   Value preparation: Input element "password"
static array|null   radio()   Value preparation: Input element "radio"
static array|null   select()   Value preparation: Input element "select"
static array|null   submit()   Value preparation: Input element "submit"
static array|null   text()   Value preparation: Input element "text"
static array|null   textarea()   Value preparation: Input element "textarea"
static array|null   time()   Value preparation: Input element "time"

[ Top ]
Methods
static method checkbox  [line 231]

  static array|null checkbox( $attributes  )

Value preparation: Input element "checkbox"

Only the text attribute is required!

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method date  [line 72]

  static array|null date( $attributes  )

Value preparation: Input element "date"

This function generates a text attribute from the isodate attribute according to the locale of the application state.

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method datetime  [line 148]

  static array|null datetime( $attributes  )

Value preparation: Input element "datetime"

This function generates a text attribute from the isodatetime attribute according to the locale of the application state.

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method decimal  [line 214]

  static array|null decimal( $attributes  )

Value preparation: Input element "decimal"

This function generates a text attribute from the decimal attribute according to the locale of the application state.

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method email  [line 198]

  static array|null email( $attributes  )

Value preparation: Input element "email"

The text attribute is set according to the email attribute, which contains a valid email address.

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method file  [line 301]

  static array|null file( $attributes  )

Value preparation: Input element "file"

TODO: fix!

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method hidden  [line 264]

  static array|null hidden( $attributes  )

Value preparation: Input element "hidden"

Only the text attribute is required!

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method jsondata  [line 275]

  static array|null jsondata( $attributes  )

Value preparation: Input element "jsondata"

Only the text attribute is required!

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method password  [line 60]

  static array|null password( $attributes  )

Value preparation: Input element "password"

Only the text attribute is required!

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method radio  [line 242]

  static array|null radio( $attributes  )

Value preparation: Input element "radio"

Only the text attribute is required!

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method select  [line 253]

  static array|null select( $attributes  )

Value preparation: Input element "select"

Only the text attribute is required!

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method submit  [line 312]

  static array|null submit( $attributes  )

Value preparation: Input element "submit"

Only the text attribute is required!

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method text  [line 38]

  static array|null text( $attributes  )

Value preparation: Input element "text"

Only the text attribute is required!

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method textarea  [line 49]

  static array|null textarea( $attributes  )

Value preparation: Input element "textarea"

Only the text attribute is required!

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]
static method time  [line 110]

  static array|null time( $attributes  )

Value preparation: Input element "time"

This function generates a text attribute from the isotime attribute according to the locale of the application state.

Parameters:
   $attributes: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Sat, 13 Sep 2008 01:41:02 -0400 by phpDocumentor 1.4.0