Property | Type | Description | |
---|---|---|---|
$static | string | The internal representation of the static HTML content |
Method | Description | |
---|---|---|
create ( string $name, habari\FormStorage | string | null $storage = 'null:null', array $properties = [], array $settings = [] ) : |
Create a new instance of FormControlStatic and return it, use the fluent interface | |
get ( |
Produce HTML output for this static text control. | |
set_static ( string $static ) : |
Set the static content of this control |
public static create ( string $name, habari\FormStorage | string | null $storage = 'null:null', array $properties = [], array $settings = [] ) : |
||
$name | string | The name of the control |
$storage | habari\FormStorage | string | null | A storage location for the data collected by the control |
$properties | array | An array of properties that apply to the output HTML |
$settings | array | An array of settings that apply to this control object |
return | An instance of the referenced FormControl with the supplied parameters |
public set_static ( string $static ) : |
||
$static | string | The static content of this control |
return | $this |
public string $static | ||
return | string |