TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AbstractDataType Class Reference
Inheritance diagram for AbstractDataType:
BinaryDataType BitDataType BlobDataType CharDataType DateDataType DateTimeDataType DecimalDataType EnumDataType FloatDataType IntegerDataType JsonDataType SetDataType TextDataType TimeDataType TimestampDataType VarBinaryDataType VarCharDataType YearDataType

Public Member Functions

 getLength ()
 
 setLength (int $length)
 
 getPrecision ()
 
 setPrecision (int $precision)
 
 getScale ()
 
 setScale (int $scale)
 
 isFixed ()
 
 setFixed (bool $fixed)
 
 getOptions ()
 
 setOptions (array $options)
 
 isUnsigned ()
 
 setUnsigned (bool $unsigned)
 
 getValues ()
 
 setValues (array $values)
 

Protected Attributes

 $length = 0
 
 $precision = -1
 
 $scale = -1
 
 $fixed = false
 
 $unsigned = false
 
 $options = []
 
 $values
 

Detailed Description

Base class for all data types that contains properties common to all data types.

Definition at line 23 of file AbstractDataType.php.

Member Function Documentation

getLength ( )
Returns
int

Definition at line 79 of file AbstractDataType.php.

References AbstractDataType\$length.

getOptions ( )
Returns
array

Definition at line 143 of file AbstractDataType.php.

References AbstractDataType\$options.

getPrecision ( )
Returns
int

Definition at line 95 of file AbstractDataType.php.

References AbstractDataType\$precision.

getScale ( )
Returns
int

Definition at line 111 of file AbstractDataType.php.

References AbstractDataType\$scale.

getValues ( )
Returns
array

Definition at line 175 of file AbstractDataType.php.

References AbstractDataType\$values.

isFixed ( )
Returns
bool

Definition at line 127 of file AbstractDataType.php.

References AbstractDataType\$fixed.

isUnsigned ( )
Returns
bool

Definition at line 159 of file AbstractDataType.php.

References AbstractDataType\$unsigned.

setFixed ( bool  $fixed)
Parameters
bool$fixed

Definition at line 135 of file AbstractDataType.php.

References AbstractDataType\$fixed.

setLength ( int  $length)
Parameters
int$length

Definition at line 87 of file AbstractDataType.php.

References AbstractDataType\$length.

setOptions ( array  $options)
Parameters
array$options

Definition at line 151 of file AbstractDataType.php.

References AbstractDataType\$options.

setPrecision ( int  $precision)
Parameters
int$precision

Definition at line 103 of file AbstractDataType.php.

References AbstractDataType\$precision.

setScale ( int  $scale)
Parameters
int$scale

Definition at line 119 of file AbstractDataType.php.

References AbstractDataType\$scale.

setUnsigned ( bool  $unsigned)
Parameters
bool$unsigned

Definition at line 167 of file AbstractDataType.php.

References AbstractDataType\$unsigned.

Referenced by IntegerDataType\__construct().

setValues ( array  $values)
Parameters
array$values

Definition at line 183 of file AbstractDataType.php.

References AbstractDataType\$values.

Member Data Documentation

$fixed = false
protected

Definition at line 53 of file AbstractDataType.php.

Referenced by AbstractDataType\isFixed(), and AbstractDataType\setFixed().

$precision = -1
protected
$scale = -1
protected

Definition at line 46 of file AbstractDataType.php.

Referenced by AbstractDataType\getScale(), and AbstractDataType\setScale().

$unsigned = false
protected