Ubiquity 2.5.2
php rapid development framework
|
Manage Databases types. More...
Static Public Member Functions | |
static | isInt ($fieldType) |
static | isString ($fieldType) |
static | isFloat ($fieldType) |
static | isBoolean ($fieldType) |
static | getSize ($dbType) |
static | getType ($dbType) |
static | asPhpType ($dbType) |
Data Fields | |
const | TYPES |
const | DEFAULT_TYPE ="varchar(30)" |
Static Protected Member Functions | |
static | get_ ($value, $regex, $pos=1) |
Static Protected Attributes | |
static | $typeMatch ='@([\s\S]*?)((?:\((?:\d)+\))*?)$@' |
static | $sizeMatch ='@(?:[\s\S]*?)(?:\((\d+)\))*?$@' |
static | $intMatch ='@^.*?int.*?((?:\((?:\d)+\))*?)$@' |
static | $stringMatch ='@^.*?char|text|binary.*?((?:\((?:\d)+\))*?)$@' |
static | $floatMatch ='@^.*?float|decimal|numeric|double.*?((?:\((?:\d)+\))*?)$@' |
Manage Databases types.
Ubiquity\db\utils$DbTypes This class is part of Ubiquity
Definition at line 14 of file DbTypes.php.
|
static |
Definition at line 65 of file DbTypes.php.
|
staticprotected |
Definition at line 31 of file DbTypes.php.
|
static |
Definition at line 57 of file DbTypes.php.
|
static |
Definition at line 61 of file DbTypes.php.
|
static |
Definition at line 53 of file DbTypes.php.
|
static |
Definition at line 49 of file DbTypes.php.
|
static |
Definition at line 41 of file DbTypes.php.
|
static |
Definition at line 45 of file DbTypes.php.
|
staticprotected |
Definition at line 28 of file DbTypes.php.
|
staticprotected |
Definition at line 26 of file DbTypes.php.
|
staticprotected |
Definition at line 25 of file DbTypes.php.
|
staticprotected |
Definition at line 27 of file DbTypes.php.
|
staticprotected |
Definition at line 24 of file DbTypes.php.
const DEFAULT_TYPE ="varchar(30)" |
Definition at line 22 of file DbTypes.php.
const TYPES |
Definition at line 15 of file DbTypes.php.