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

List of all members.

Public Member Functions

 conname ()
 defaultValue ()
 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
 $default
 $deferrable
 $deferred
 $has_default
 $max_length
 $nullable
 $tablename
 $type

Private Attributes

 $name

Detailed Description

Definition at line 24 of file DatabasePostgres.php.


Member Function Documentation

Definition at line 113 of file DatabasePostgres.php.

Referenced by fromText().

Since:
1.19

Definition at line 119 of file DatabasePostgres.php.

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

Definition at line 34 of file DatabasePostgres.php.

References $n, $res, conname(), n, on, and t().

Referenced by DatabasePostgres\fieldInfo().

Definition at line 105 of file DatabasePostgres.php.

Definition at line 109 of file DatabasePostgres.php.

Whether this field can store NULL values.

Returns:
bool

Implements Field.

Definition at line 97 of file DatabasePostgres.php.

Definition at line 101 of file DatabasePostgres.php.

Field name.

Returns:
string

Implements Field.

Definition at line 85 of file DatabasePostgres.php.

Name of table this field belongs to.

Returns:
string

Implements Field.

Definition at line 89 of file DatabasePostgres.php.

Database type.

Returns:
string

Implements Field.

Definition at line 93 of file DatabasePostgres.php.


Member Data Documentation

PostgresField::$conname

Definition at line 25 of file DatabasePostgres.php.

PostgresField::$default

Definition at line 25 of file DatabasePostgres.php.

PostgresField::$deferrable

Definition at line 25 of file DatabasePostgres.php.

PostgresField::$deferred

Definition at line 25 of file DatabasePostgres.php.

PostgresField::$has_default

Definition at line 25 of file DatabasePostgres.php.

PostgresField::$max_length

Definition at line 25 of file DatabasePostgres.php.

PostgresField::$name [private]

Definition at line 25 of file DatabasePostgres.php.

PostgresField::$nullable

Definition at line 25 of file DatabasePostgres.php.

PostgresField::$tablename

Definition at line 25 of file DatabasePostgres.php.

PostgresField::$type

Definition at line 25 of file DatabasePostgres.php.


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