MediaWiki  1.30.0
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. More...
 
 maxLength ()
 
 name ()
 Field name. More...
 
 tableName ()
 Name of table this field belongs to. More...
 
 type ()
 Database type. More...
 

Public Attributes

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

Private Attributes

 $name
 

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, name(), 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.

Referenced by __construct().

◆ 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.

Referenced by DatabaseOracle\fieldInfoMulti().

◆ 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

Definition at line 6 of file ORAField.php.

Referenced by defaultValue().

◆ $is_key

ORAField::$is_key

Definition at line 6 of file ORAField.php.

Referenced by isKey().

◆ $is_multiple

ORAField::$is_multiple

Definition at line 6 of file ORAField.php.

Referenced by __construct(), and isMultipleKey().

◆ $is_pk

ORAField::$is_pk

Definition at line 6 of file ORAField.php.

◆ $is_unique

ORAField::$is_unique

Definition at line 6 of file ORAField.php.

◆ $max_length

ORAField::$max_length

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

Definition at line 6 of file ORAField.php.

Referenced by isNullable().

◆ $tablename

ORAField::$tablename

Definition at line 6 of file ORAField.php.

Referenced by tableName().

◆ $type

ORAField::$type

Definition at line 6 of file ORAField.php.

Referenced by type().


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