Class ModuleField
Module Field
Stores information regarding a particular Module Field, which may consist of a label, tooltip, input field, or some combination thereof.
Package: blesta\components\modules
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
See:
Link: Blesta
Located at components/modules/module_field.php
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
See:
ModuleFields
Link: Blesta
Located at components/modules/module_field.php
Methods summary
public
|
#
__construct( string $type )
Constructs a new ModuleField of the given type. Types directly correlate to Form helper method names. |
public
|
#
setParam( string $name, mixed $value )
Sets all parameters for this ModuleField, which will be dispatched to the appropriate Form helper method when needed, or to the tooltip. |
public
|
|
public
|
#
attach(
Attaches a field to a label ModuleField, or a tooltip to a label ModuleField. Only field and tooltip types can be attached to a label. So the current object must be of type "label". And $field must be of some other type. |
Magic methods summary
Properties summary
public
string
|
$type |
#
The type of ModuleField |
public
array
|
$params |
#
All parameters set for this ModuleField |