MediaWiki  REL1_19
PostgresField Class Reference
Inheritance diagram for PostgresField:
Collaboration diagram for PostgresField:

List of all members.

Public Member Functions

 conname ()
 is_deferrable ()
 is_deferred ()
 isNullable ()
 Whether this field can store NULL values.
 maxLength ()
 name ()
 Field name.
 tableName ()
 Name of table this field belongs to.
 type ()
 Database type.

Static Public Member Functions

static fromText ($db, $table, $field)

Public Attributes

 $conname
 $deferrable
 $deferred
 $max_length
 $nullable
 $tablename
 $type

Private Attributes

 $name

Detailed Description

Definition at line 9 of file DatabasePostgres.php.


Member Function Documentation

Definition at line 94 of file DatabasePostgres.php.

Referenced by fromText().

Here is the caller graph for this function:

static PostgresField::fromText ( db,
table,
field 
) [static]
Parameters:
$dbDatabaseBase
$table
$field
Returns:
null|PostgresField

Definition at line 18 of file DatabasePostgres.php.

References $n, $res, $wgDBmwschema, conname(), and n.

Referenced by DatabasePostgres\fieldInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 86 of file DatabasePostgres.php.

Definition at line 90 of file DatabasePostgres.php.

Whether this field can store NULL values.

Returns:
bool

Implements Field.

Definition at line 78 of file DatabasePostgres.php.

Definition at line 82 of file DatabasePostgres.php.

Field name.

Returns:
string

Implements Field.

Definition at line 66 of file DatabasePostgres.php.

Name of table this field belongs to.

Returns:
string

Implements Field.

Definition at line 70 of file DatabasePostgres.php.

Database type.

Returns:
string

Implements Field.

Definition at line 74 of file DatabasePostgres.php.


Member Data Documentation

PostgresField::$conname

Definition at line 10 of file DatabasePostgres.php.

PostgresField::$deferrable

Definition at line 10 of file DatabasePostgres.php.

PostgresField::$deferred

Definition at line 10 of file DatabasePostgres.php.

PostgresField::$max_length

Definition at line 10 of file DatabasePostgres.php.

PostgresField::$name [private]

Definition at line 10 of file DatabasePostgres.php.

PostgresField::$nullable

Definition at line 10 of file DatabasePostgres.php.

PostgresField::$tablename

Definition at line 10 of file DatabasePostgres.php.

PostgresField::$type

Definition at line 10 of file DatabasePostgres.php.


The documentation for this class was generated from the following file: