MediaWiki
REL1_19
|
This represents a column in a DB2 database. More...
Public Member Functions | |
isNullable () | |
Can column be null? | |
maxLength () | |
How much can you fit in the column per row? | |
name () | |
Get column name. | |
tableName () | |
Get table name. | |
type () | |
Get column type. | |
Static Public Member Functions | |
static | fromText ($db, $table, $field) |
Builder method for the class. | |
Private Attributes | |
$max_length = 0 | |
$name = '' | |
$nullable = false | |
$tablename = '' | |
$type = '' |
This represents a column in a DB2 database.
Definition at line 16 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 30 of file DatabaseIbm_db2.php.
References $n, $res, $wgDBmwschema, and name().
Referenced by DatabaseIbm_db2\fieldInfo().
Can column be null?
Implements Field.
Definition at line 78 of file DatabaseIbm_db2.php.
How much can you fit in the column per row?
Definition at line 83 of file DatabaseIbm_db2.php.
Get column name.
Implements Field.
Definition at line 63 of file DatabaseIbm_db2.php.
References name().
Referenced by fromText(), and name().
Get table name.
Implements Field.
Definition at line 68 of file DatabaseIbm_db2.php.
Get column type.
Implements Field.
Definition at line 73 of file DatabaseIbm_db2.php.
References type().
Referenced by type().
IBM_DB2Field::$max_length = 0 [private] |
Definition at line 21 of file DatabaseIbm_db2.php.
IBM_DB2Field::$name = '' [private] |
Definition at line 17 of file DatabaseIbm_db2.php.
IBM_DB2Field::$nullable = false [private] |
Definition at line 20 of file DatabaseIbm_db2.php.
IBM_DB2Field::$tablename = '' [private] |
Definition at line 18 of file DatabaseIbm_db2.php.
IBM_DB2Field::$type = '' [private] |
Definition at line 19 of file DatabaseIbm_db2.php.