MediaWiki  1.28.0
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. 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 2 of file MssqlField.php.

Constructor & Destructor Documentation

MssqlField::__construct (   $info)

Definition at line 5 of file MssqlField.php.

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

Member Function Documentation

MssqlField::defaultValue ( )

Definition at line 22 of file MssqlField.php.

References $default.

MssqlField::isNullable ( )

Whether this field can store NULL values.

Returns
bool

Implements Field.

Definition at line 30 of file MssqlField.php.

References $nullable.

MssqlField::maxLength ( )

Definition at line 26 of file MssqlField.php.

References $max_length.

MssqlField::name ( )

Field name.

Returns
string

Implements Field.

Definition at line 14 of file MssqlField.php.

References $name.

Referenced by __construct().

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

MssqlField::type ( )

Database type.

Returns
string

Implements Field.

Definition at line 34 of file MssqlField.php.

References $type.

Referenced by __construct().

Member Data Documentation

MssqlField::$default

Definition at line 3 of file MssqlField.php.

Referenced by defaultValue().

MssqlField::$max_length

Definition at line 3 of file MssqlField.php.

Referenced by maxLength().

MssqlField::$name
private

Definition at line 3 of file MssqlField.php.

Referenced by name().

MssqlField::$nullable

Definition at line 3 of file MssqlField.php.

Referenced by isNullable().

MssqlField::$tableName

Definition at line 3 of file MssqlField.php.

Referenced by tableName().

MssqlField::$type

Definition at line 3 of file MssqlField.php.

Referenced by type().


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