PHP Class CheckableVisibilityField, silverstripe-memberprofiles

Inheritance: extends FormField
Show file Open project: silverstripe-australia/silverstripe-memberprofiles Class Usage Examples

Protected Properties

Property Type Description
$alwaysVisible
$checkbox
$child

Public Methods

Method Description
Field ( $properties = [] )
Title ( )
Value ( )
__construct ( FormField $child )
dataValue ( )
getCheckbox ( ) : CheckboxField
getChild ( ) : FormField
makeAlwaysVisible ( )
saveInto ( DataObjectInterface $record )
setForm ( $form )
setValue ( $value, $data = [] )
validate ( $validator )

Method Details

Field() public method

public Field ( $properties = [] )

Title() public method

public Title ( )

Value() public method

public Value ( )

__construct() public method

public __construct ( FormField $child )
$child FormField

dataValue() public method

public dataValue ( )

getCheckbox() public method

public getCheckbox ( ) : CheckboxField
return CheckboxField

getChild() public method

public getChild ( ) : FormField
return FormField

makeAlwaysVisible() public method

public makeAlwaysVisible ( )

saveInto() public method

public saveInto ( DataObjectInterface $record )
$record DataObjectInterface

setForm() public method

public setForm ( $form )

setValue() public method

public setValue ( $value, $data = [] )

validate() public method

public validate ( $validator )

Property Details

$alwaysVisible protected property

protected $alwaysVisible

$checkbox protected property

protected $checkbox

$child protected property

protected $child