MediaWiki REL1_33
ORAField Class Reference
Inheritance diagram for ORAField:
Collaboration diagram for ORAField:

Public Member Functions

 __construct ( $info)
 
 defaultValue ()
 
 isKey ()
 
 isMultipleKey ()
 
 isNullable ()
 Whether this field can store NULL values.
 
 maxLength ()
 
 name ()
 Field name.
 
 tableName ()
 Name of table this field belongs to.
 
 type ()
 Database type.
 

Private Attributes

 $default
 
 $is_key
 
 $is_multiple
 
 $is_pk
 
 $is_unique
 
 $max_length
 
 $name
 
 $nullable
 
 $tablename
 
 $type
 

Detailed Description

Definition at line 5 of file ORAField.php.

Constructor & Destructor Documentation

◆ __construct()

ORAField::__construct ( $info)

Definition at line 9 of file ORAField.php.

References $is_multiple, and(), and type().

Member Function Documentation

◆ defaultValue()

ORAField::defaultValue ( )

Definition at line 30 of file ORAField.php.

References $default.

◆ isKey()

ORAField::isKey ( )

Definition at line 42 of file ORAField.php.

References $is_key.

◆ isMultipleKey()

ORAField::isMultipleKey ( )

Definition at line 46 of file ORAField.php.

References $is_multiple.

◆ isNullable()

ORAField::isNullable ( )

Whether this field can store NULL values.

Returns
bool

Implements Wikimedia\Rdbms\Field.

Definition at line 38 of file ORAField.php.

References $nullable.

◆ maxLength()

ORAField::maxLength ( )

Definition at line 34 of file ORAField.php.

References $max_length.

◆ name()

ORAField::name ( )

Field name.

Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 22 of file ORAField.php.

References $name.

◆ tableName()

ORAField::tableName ( )

Name of table this field belongs to.

Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 26 of file ORAField.php.

References $tablename.

◆ type()

ORAField::type ( )

Database type.

Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 50 of file ORAField.php.

References $type.

Referenced by __construct().

Member Data Documentation

◆ $default

ORAField::$default
private

Definition at line 6 of file ORAField.php.

Referenced by defaultValue().

◆ $is_key

ORAField::$is_key
private

Definition at line 7 of file ORAField.php.

Referenced by isKey().

◆ $is_multiple

ORAField::$is_multiple
private

Definition at line 7 of file ORAField.php.

Referenced by __construct(), and isMultipleKey().

◆ $is_pk

ORAField::$is_pk
private

Definition at line 7 of file ORAField.php.

◆ $is_unique

ORAField::$is_unique
private

Definition at line 7 of file ORAField.php.

◆ $max_length

ORAField::$max_length
private

Definition at line 6 of file ORAField.php.

Referenced by maxLength().

◆ $name

ORAField::$name
private

Definition at line 6 of file ORAField.php.

Referenced by name().

◆ $nullable

ORAField::$nullable
private

Definition at line 6 of file ORAField.php.

Referenced by isNullable().

◆ $tablename

ORAField::$tablename
private

Definition at line 6 of file ORAField.php.

Referenced by tableName().

◆ $type

ORAField::$type
private

Definition at line 7 of file ORAField.php.

Referenced by type().


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