FreenetIS
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
Field Class Reference

Grid field. More...

Inheritance diagram for Field:
Action_Field Callback_Field Form_Field Grouped_Action_Field Link_Field Order_Field Order_Link_Field

Public Member Functions

 __construct ($name)
 Contruct of field, set label by its name with auto internationalization.
 __call ($method, $args)
 Call method (sets properties)
 label ($label)
 Sets label of field.
 render ()
 Render field.
 __toString ()
 Render field.

Public Attributes

 $label
 $name
 $bool
 $class
 $order = true
 $style
 $help
 $args

Detailed Description

Grid field.

Field name(string $name) Field bool(bool $bool) Field class(string $class) Field order(bool $order) Field style(string $style) Field help(string $help) Field args(string $array)

Constructor & Destructor Documentation

Field::__construct (   $name)

Contruct of field, set label by its name with auto internationalization.

Parameters
string$nameName of field

Reimplemented in Action_Field, Link_Field, and Grouped_Action_Field.

Member Function Documentation

Field::__call (   $method,
  $args 
)

Call method (sets properties)

Parameters
string$method
array$args
Returns
Field

Reimplemented in Action_Field.

Field::__toString ( )

Render field.

Returns
string

Reimplemented in Action_Field.

Field::label (   $label)

Sets label of field.

Parameters
string$labelNew label with auto internationalization
Returns
Field
Field::render ( )

Render field.

Returns
string

Reimplemented in Action_Field, Link_Field, and Order_Link_Field.


The documentation for this class was generated from the following file: