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

Public Attributes

 $default
 
 $max_length
 
 $nullable
 
 $tableName
 
 $type
 

Private Attributes

 $name
 

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.

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

◆ 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

Definition at line 6 of file MssqlField.php.

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

◆ $max_length

Wikimedia\Rdbms\MssqlField::$max_length

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

Definition at line 6 of file MssqlField.php.

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

◆ $tableName

Wikimedia\Rdbms\MssqlField::$tableName

Definition at line 6 of file MssqlField.php.

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

◆ $type

Wikimedia\Rdbms\MssqlField::$type

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: