DatabaseSchema: ezcDbSchemaField
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDbSchemaField
|
A container to store a field definition in. [
source]
Parents
ezcBaseStruct
|
--ezcDbSchemaField
Member Variables
|
public bool |
$autoIncrement
Whether this field is an auto increment field. |
|
public mixed |
$default
The default value for this field. |
|
public integer |
$length
The length of this field. |
|
public bool |
$notNull
Whether this field can store NULL values. |
|
public string |
$type
The type of this field |
|
public bool |
$unsigned
Whether the values for this field contain unsigned integers. |
Method Summary
|
public ezcDbSchemaField |
__construct(
$type, [$length = false], [$notNull = false], [$default = null], [$autoIncrement = false], [$unsigned = false] )
Constructs an ezcDbSchemaField object. |
|
public static void |
__set_state(
$array )
|
Methods
__construct
ezcDbSchemaField __construct(
string
$type, [integer
$length = false], [bool
$notNull = false], [mixed
$default = null], [bool
$autoIncrement = false], [bool
$unsigned = false] )
Constructs an ezcDbSchemaField object.
Parameters
| Name |
Type |
Description |
$type |
string |
|
$length |
integer |
|
$notNull |
bool |
|
$default |
mixed |
|
$autoIncrement |
bool |
|
$unsigned |
bool |
|
__set_state
void __set_state(
$array )
Parameters
| Name |
Type |
Description |
$array |
array |
|
Last updated: Mon, 17 Dec 2007