\TextLinkField
Synopsis
class TextLinkField
extends TextField
{
- // members
- public $children;
- protected $protocolField;
- protected $linkField;
- protected boolean $emailEnabled = true;
- protected array $localProtocols = ;
- protected array $fallbackProtocols = ;
- protected static array $default_protocols = ;
- // methods
- public void __construct()
- public $this setProtocolList()
- public array getProtocolList()
- public $this withoutEmailOption()
- public $this includeEmailOption()
- public string Field()
- public TextLinkField setValue()
- protected array valueToArray()
- protected string emailErrorMessage()
- protected string urlErrorMessage()
- public boolean validate()
Hierarchy
Extends
- TextField
Members
protected
- $default_protocols
- $emailEnabled
- $fallbackProtocols
- $linkField
- $localProtocols
- $protocolField
public
- $children
Methods
protected
- emailErrorMessage() — Error message for an invalid email
- urlErrorMessage() — Error message for an invalid url
- valueToArray() — Converts a full url to the protocol and link array
public
- __construct()
- Field()
- getProtocolList() — Get the list of protocols to be used by this instance
- includeEmailOption() — Quick function to enable the email option or change it's title
- setProtocolList() — Set the list of protocols for this instance
- setValue() — Set the field value
- validate()
- withoutEmailOption() — Quick function to disable the email option