Public Member Functions | |
name () | |
Get column name. | |
tableName () | |
Get table name. | |
type () | |
Get column type. | |
nullable () | |
Can column be null? | |
maxLength () | |
How much can you fit in the column per row? | |
Static Public Member Functions | |
static | fromText ($db, $table, $field) |
Builder method for the class. | |
Private Attributes | |
$name = '' | |
$tablename = '' | |
$type = '' | |
$nullable = false | |
$max_length = 0 |
Definition at line 15 of file DatabaseIbm_db2.php.
static IBM_DB2Field::fromText | ( | $ | db, | |
$ | table, | |||
$ | field | |||
) | [static] |
Builder method for the class.
$db | DatabaseIbm_db2: Database interface | |
$table | String: table name | |
$field | String: column name |
Definition at line 29 of file DatabaseIbm_db2.php.
References $n, $res, $wgDBmwschema, and name().
Referenced by DatabaseIbm_db2::fieldInfo().
IBM_DB2Field::maxLength | ( | ) |
How much can you fit in the column per row?
Definition at line 78 of file DatabaseIbm_db2.php.
IBM_DB2Field::name | ( | ) |
Get column name.
Definition at line 58 of file DatabaseIbm_db2.php.
Referenced by fromText().
IBM_DB2Field::nullable | ( | ) |
IBM_DB2Field::tableName | ( | ) |
IBM_DB2Field::type | ( | ) |
IBM_DB2Field::$max_length = 0 [private] |
Definition at line 20 of file DatabaseIbm_db2.php.
IBM_DB2Field::$name = '' [private] |
Definition at line 16 of file DatabaseIbm_db2.php.
IBM_DB2Field::$nullable = false [private] |
Definition at line 19 of file DatabaseIbm_db2.php.
IBM_DB2Field::$tablename = '' [private] |
Definition at line 17 of file DatabaseIbm_db2.php.
IBM_DB2Field::$type = '' [private] |
Definition at line 18 of file DatabaseIbm_db2.php.