MediaWiki
REL1_20
|
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 31 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 45 of file DatabaseIbm_db2.php.
References $n, $res, and name().
Referenced by DatabaseIbm_db2\fieldInfo().
Can column be null?
Implements Field.
Definition at line 93 of file DatabaseIbm_db2.php.
How much can you fit in the column per row?
Definition at line 98 of file DatabaseIbm_db2.php.
Get column name.
Implements Field.
Definition at line 78 of file DatabaseIbm_db2.php.
References name().
Referenced by fromText(), and name().
Get table name.
Implements Field.
Definition at line 83 of file DatabaseIbm_db2.php.
Get column type.
Implements Field.
Definition at line 88 of file DatabaseIbm_db2.php.
References type().
Referenced by type().
IBM_DB2Field::$max_length = 0 [private] |
Definition at line 36 of file DatabaseIbm_db2.php.
IBM_DB2Field::$name = '' [private] |
Definition at line 32 of file DatabaseIbm_db2.php.
IBM_DB2Field::$nullable = false [private] |
Definition at line 35 of file DatabaseIbm_db2.php.
IBM_DB2Field::$tablename = '' [private] |
Definition at line 33 of file DatabaseIbm_db2.php.
IBM_DB2Field::$type = '' [private] |
Definition at line 34 of file DatabaseIbm_db2.php.