MediaWiki  1.23.2
MssqlField Class Reference

Utility class. More...

Inheritance diagram for MssqlField:
Collaboration diagram for 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

Utility class.

Definition at line 1380 of file DatabaseMssql.php.

Constructor & Destructor Documentation

◆ __construct()

MssqlField::__construct (   $info)

Definition at line 1383 of file DatabaseMssql.php.

References name(), tableName(), and type().

Member Function Documentation

◆ defaultValue()

MssqlField::defaultValue ( )

Definition at line 1400 of file DatabaseMssql.php.

References $default.

◆ isNullable()

MssqlField::isNullable ( )

Whether this field can store NULL values.

Returns
bool

Implements Field.

Definition at line 1408 of file DatabaseMssql.php.

References $nullable.

◆ maxLength()

MssqlField::maxLength ( )

Definition at line 1404 of file DatabaseMssql.php.

References $max_length.

◆ name()

MssqlField::name ( )

Field name.

Returns
string

Implements Field.

Definition at line 1392 of file DatabaseMssql.php.

References $name.

Referenced by __construct().

◆ tableName()

MssqlField::tableName ( )

Name of table this field belongs to.

Returns
string

Implements Field.

Definition at line 1396 of file DatabaseMssql.php.

References $tableName.

Referenced by __construct().

◆ type()

MssqlField::type ( )

Database type.

Returns
string

Implements Field.

Definition at line 1412 of file DatabaseMssql.php.

References $type.

Referenced by __construct().

Member Data Documentation

◆ $default

MssqlField::$default

Definition at line 1381 of file DatabaseMssql.php.

Referenced by defaultValue().

◆ $max_length

MssqlField::$max_length

Definition at line 1381 of file DatabaseMssql.php.

Referenced by maxLength().

◆ $name

MssqlField::$name
private

Definition at line 1381 of file DatabaseMssql.php.

Referenced by name().

◆ $nullable

MssqlField::$nullable

Definition at line 1381 of file DatabaseMssql.php.

Referenced by isNullable().

◆ $tableName

MssqlField::$tableName

Definition at line 1381 of file DatabaseMssql.php.

Referenced by tableName().

◆ $type

MssqlField::$type

Definition at line 1381 of file DatabaseMssql.php.

Referenced by type().


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