PHP Class CheckableVisibilityField, silverstripe-memberprofiles

Inheritance: extends FormField
Afficher le fichier Open project: silverstripe-australia/silverstripe-memberprofiles Class Usage Examples

Protected Properties

Свойство Type Description
$alwaysVisible
$checkbox
$child

Méthodes publiques

Méthode 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 méthode

public Field ( $properties = [] )

Title() public méthode

public Title ( )

Value() public méthode

public Value ( )

__construct() public méthode

public __construct ( FormField $child )
$child FormField

dataValue() public méthode

public dataValue ( )

getCheckbox() public méthode

public getCheckbox ( ) : CheckboxField
Résultat CheckboxField

getChild() public méthode

public getChild ( ) : FormField
Résultat FormField

makeAlwaysVisible() public méthode

public makeAlwaysVisible ( )

saveInto() public méthode

public saveInto ( DataObjectInterface $record )
$record DataObjectInterface

setForm() public méthode

public setForm ( $form )

setValue() public méthode

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

validate() public méthode

public validate ( $validator )

Property Details

$alwaysVisible protected_oe property

protected $alwaysVisible

$checkbox protected_oe property

protected $checkbox

$child protected_oe property

protected $child