SilverCart\Forms\HiddenField
Extension for SilverStripe's HiddenField.
Adds setter methods for the field HTML ID and the field holder HTML ID.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2018 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class HiddenField
extends HiddenField
{
- // methods
- public $this setID()
- public $this setHolderID()
- public string ID()
- public string HolderID()
Hierarchy
Extends
- SilverStripe\Forms\HiddenField
Members
protected
- $ID
—
string
HTML ID of the field. - $holderID
—
string
HTML ID of the field holder.
Methods
public
- HolderID() — Returns the HTML ID for the form field holder element.
- ID() — Returns the HTML ID of the field.
- setHolderID() — Sets this field holder's HTML ID.
- setID() — Sets this field's HTML ID.