MediaWiki REL1_28
MssqlField Class Reference
Inheritance diagram for MssqlField:
Collaboration diagram for 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 2 of file MssqlField.php.

Constructor & Destructor Documentation

◆ __construct()

MssqlField::__construct (   $info)

Definition at line 5 of file MssqlField.php.

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

Member Function Documentation

◆ defaultValue()

MssqlField::defaultValue ( )

Definition at line 22 of file MssqlField.php.

References $default.

◆ isNullable()

MssqlField::isNullable ( )

Whether this field can store NULL values.

Returns
bool

Implements Field.

Definition at line 30 of file MssqlField.php.

References $nullable.

◆ maxLength()

MssqlField::maxLength ( )

Definition at line 26 of file MssqlField.php.

References $max_length.

◆ name()

MssqlField::name ( )

Field name.

Returns
string

Implements Field.

Definition at line 14 of file MssqlField.php.

References $name.

Referenced by __construct().

◆ tableName()

MssqlField::tableName ( )

Name of table this field belongs to.

Returns
string

Implements Field.

Definition at line 18 of file MssqlField.php.

References $tableName.

Referenced by __construct().

◆ type()

MssqlField::type ( )

Database type.

Returns
string

Implements Field.

Definition at line 34 of file MssqlField.php.

References $type.

Referenced by __construct().

Member Data Documentation

◆ $default

MssqlField::$default
private

Definition at line 3 of file MssqlField.php.

Referenced by defaultValue().

◆ $max_length

MssqlField::$max_length
private

Definition at line 3 of file MssqlField.php.

Referenced by maxLength().

◆ $name

MssqlField::$name
private

Definition at line 3 of file MssqlField.php.

Referenced by name().

◆ $nullable

MssqlField::$nullable
private

Definition at line 3 of file MssqlField.php.

Referenced by isNullable().

◆ $tableName

MssqlField::$tableName
private

Definition at line 3 of file MssqlField.php.

Referenced by tableName().

◆ $type

MssqlField::$type
private

Definition at line 3 of file MssqlField.php.

Referenced by type().


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