com\setasign\SetaSite\PropertyContainer\Property

Boolean

File: /SetaSite/src/PropertyContainer/Property/Boolean.php

Class hierarchy

Implements

Summary

Properties

$value

protected mixed AbstractProperty::$value

Static Methods

cleanupConfig()


Methods

__clone()

public AbstractProperty::__clone (
void
): void

__toString()

public Boolean::__toString (
void
): string

exportValue()

public Boolean::exportValue (
void
): mixed

Export the value, to use it in a Database

getDefaultValue()

public Boolean::getDefaultValue (
void
): void

getValue()

public AbstractProperty::getValue (
void
): mixed

isNull()

public AbstractProperty::isNull (
void
): bool

Checks whether the value is null

isValid()

public Boolean::isValid (
array &$result = array ( )
): bool

Checks whether the value of the property is valid

Parameters
$result: array
 

parseValue()

protected Boolean::parseValue (
mixed $value
): mixed

Parses the value to the correct format

Parameters
$value: mixed
 

setValue()

public Boolean::setValue (
mixed $value,
bool $ignoreEditable = false
): void

Sets the value

Parameters
$value: mixed
 
$ignoreEditable: bool

Ignore editable property, only for internal use!