class Fieldmanager_Link extends Fieldmanager_Textfield (View source)

Link (url) field

Methods

__construct(string|array $label = '', array $options = array())

Construct default attributes, set link sanitizer.

Details

__construct(string|array $label = '', array $options = array())

Construct default attributes, set link sanitizer.

Parameters

string|array $label

The field label. A provided string sets $options['label'], while an array sets $options, overriding any existing data in $options.

array $options

The field options.