MediaWiki REL1_31
Wikimedia\Rdbms\MssqlField Class Reference
Inheritance diagram for Wikimedia\Rdbms\MssqlField:
Collaboration diagram for Wikimedia\Rdbms\MssqlField:

Public Member Functions

 __construct ( $info)
 
 defaultValue ()
 
 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
 
 $max_length
 
 $name
 
 $nullable
 
 $tableName
 
 $type
 

Detailed Description

Definition at line 5 of file MssqlField.php.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Rdbms\MssqlField::__construct ( $info)

Member Function Documentation

◆ defaultValue()

Wikimedia\Rdbms\MssqlField::defaultValue ( )

Definition at line 25 of file MssqlField.php.

References Wikimedia\Rdbms\MssqlField\$default.

◆ isNullable()

Wikimedia\Rdbms\MssqlField::isNullable ( )

Whether this field can store NULL values.

Returns
bool

Implements Wikimedia\Rdbms\Field.

Definition at line 33 of file MssqlField.php.

References Wikimedia\Rdbms\MssqlField\$nullable.

◆ maxLength()

Wikimedia\Rdbms\MssqlField::maxLength ( )

Definition at line 29 of file MssqlField.php.

References Wikimedia\Rdbms\MssqlField\$max_length.

◆ name()

Wikimedia\Rdbms\MssqlField::name ( )

Field name.

Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 17 of file MssqlField.php.

References Wikimedia\Rdbms\MssqlField\$name.

◆ tableName()

Wikimedia\Rdbms\MssqlField::tableName ( )

Name of table this field belongs to.

Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 21 of file MssqlField.php.

References Wikimedia\Rdbms\MssqlField\$tableName.

Referenced by Wikimedia\Rdbms\MssqlField\__construct().

◆ type()

Wikimedia\Rdbms\MssqlField::type ( )

Database type.

Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 37 of file MssqlField.php.

References Wikimedia\Rdbms\MssqlField\$type.

Referenced by Wikimedia\Rdbms\MssqlField\__construct().

Member Data Documentation

◆ $default

Wikimedia\Rdbms\MssqlField::$default
private

Definition at line 6 of file MssqlField.php.

Referenced by Wikimedia\Rdbms\MssqlField\defaultValue().

◆ $max_length

Wikimedia\Rdbms\MssqlField::$max_length
private

Definition at line 6 of file MssqlField.php.

Referenced by Wikimedia\Rdbms\MssqlField\maxLength().

◆ $name

Wikimedia\Rdbms\MssqlField::$name
private

Definition at line 6 of file MssqlField.php.

Referenced by Wikimedia\Rdbms\MssqlField\name().

◆ $nullable

Wikimedia\Rdbms\MssqlField::$nullable
private

Definition at line 6 of file MssqlField.php.

Referenced by Wikimedia\Rdbms\MssqlField\isNullable().

◆ $tableName

Wikimedia\Rdbms\MssqlField::$tableName
private

Definition at line 6 of file MssqlField.php.

Referenced by Wikimedia\Rdbms\MssqlField\tableName().

◆ $type

Wikimedia\Rdbms\MssqlField::$type
private

Definition at line 6 of file MssqlField.php.

Referenced by Wikimedia\Rdbms\MssqlField\type().


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