MediaWiki  1.33.0
Wikimedia\Rdbms\MySQLField Class Reference
Inheritance diagram for Wikimedia\Rdbms\MySQLField:
Collaboration diagram for Wikimedia\Rdbms\MySQLField:

Public Member Functions

 __construct ( $info)
 
 defaultValue ()
 
 isBinary ()
 
 isBlob ()
 
 isKey ()
 
 isMultipleKey ()
 
 isNullable ()
 
 isNumeric ()
 
 isUnsigned ()
 
 isZerofill ()
 
 name ()
 
 tableName ()
 
 type ()
 

Public Attributes

 $binary
 
 $default
 
 $is_blob
 
 $is_key
 
 $is_multiple
 
 $is_numeric
 
 $is_pk
 
 $is_unique
 
 $is_unsigned
 
 $is_zerofill
 
 $max_length
 
 $nullable
 
 $tablename
 
 $type
 

Private Attributes

 $name
 

Detailed Description

Definition at line 5 of file MySQLField.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ defaultValue()

Wikimedia\Rdbms\MySQLField::defaultValue ( )

Definition at line 56 of file MySQLField.php.

References Wikimedia\Rdbms\MySQLField\$default.

◆ isBinary()

Wikimedia\Rdbms\MySQLField::isBinary ( )
Returns
bool

Definition at line 77 of file MySQLField.php.

References Wikimedia\Rdbms\MySQLField\$binary.

◆ isBlob()

Wikimedia\Rdbms\MySQLField::isBlob ( )
Returns
bool

Definition at line 91 of file MySQLField.php.

References Wikimedia\Rdbms\MySQLField\$is_blob.

◆ isKey()

Wikimedia\Rdbms\MySQLField::isKey ( )
Returns
bool

Definition at line 63 of file MySQLField.php.

References Wikimedia\Rdbms\MySQLField\$is_key.

◆ isMultipleKey()

Wikimedia\Rdbms\MySQLField::isMultipleKey ( )
Returns
bool

Definition at line 70 of file MySQLField.php.

References Wikimedia\Rdbms\MySQLField\$is_multiple.

◆ isNullable()

Wikimedia\Rdbms\MySQLField::isNullable ( )
Returns
bool

Implements Wikimedia\Rdbms\Field.

Definition at line 52 of file MySQLField.php.

References Wikimedia\Rdbms\MySQLField\$nullable.

◆ isNumeric()

Wikimedia\Rdbms\MySQLField::isNumeric ( )
Returns
bool

Definition at line 84 of file MySQLField.php.

References Wikimedia\Rdbms\MySQLField\$is_numeric.

◆ isUnsigned()

Wikimedia\Rdbms\MySQLField::isUnsigned ( )
Returns
bool

Definition at line 98 of file MySQLField.php.

References Wikimedia\Rdbms\MySQLField\$is_unsigned.

◆ isZerofill()

Wikimedia\Rdbms\MySQLField::isZerofill ( )
Returns
bool

Definition at line 105 of file MySQLField.php.

References Wikimedia\Rdbms\MySQLField\$is_zerofill.

◆ name()

Wikimedia\Rdbms\MySQLField::name ( )
Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 31 of file MySQLField.php.

References Wikimedia\Rdbms\MySQLField\$name.

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

◆ tableName()

Wikimedia\Rdbms\MySQLField::tableName ( )
Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 38 of file MySQLField.php.

References Wikimedia\Rdbms\MySQLField\$tablename.

◆ type()

Wikimedia\Rdbms\MySQLField::type ( )
Returns
string

Implements Wikimedia\Rdbms\Field.

Definition at line 45 of file MySQLField.php.

References Wikimedia\Rdbms\MySQLField\$type.

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

Member Data Documentation

◆ $binary

Wikimedia\Rdbms\MySQLField::$binary

Definition at line 6 of file MySQLField.php.

Referenced by Wikimedia\Rdbms\MySQLField\isBinary().

◆ $default

Wikimedia\Rdbms\MySQLField::$default

Definition at line 6 of file MySQLField.php.

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

◆ $is_blob

Wikimedia\Rdbms\MySQLField::$is_blob

Definition at line 6 of file MySQLField.php.

Referenced by Wikimedia\Rdbms\MySQLField\isBlob().

◆ $is_key

Wikimedia\Rdbms\MySQLField::$is_key

Definition at line 6 of file MySQLField.php.

Referenced by Wikimedia\Rdbms\MySQLField\isKey().

◆ $is_multiple

Wikimedia\Rdbms\MySQLField::$is_multiple

◆ $is_numeric

Wikimedia\Rdbms\MySQLField::$is_numeric

Definition at line 6 of file MySQLField.php.

Referenced by Wikimedia\Rdbms\MySQLField\isNumeric().

◆ $is_pk

Wikimedia\Rdbms\MySQLField::$is_pk

Definition at line 6 of file MySQLField.php.

◆ $is_unique

Wikimedia\Rdbms\MySQLField::$is_unique

Definition at line 6 of file MySQLField.php.

◆ $is_unsigned

Wikimedia\Rdbms\MySQLField::$is_unsigned

Definition at line 6 of file MySQLField.php.

Referenced by Wikimedia\Rdbms\MySQLField\isUnsigned().

◆ $is_zerofill

Wikimedia\Rdbms\MySQLField::$is_zerofill

Definition at line 6 of file MySQLField.php.

Referenced by Wikimedia\Rdbms\MySQLField\isZerofill().

◆ $max_length

Wikimedia\Rdbms\MySQLField::$max_length

Definition at line 6 of file MySQLField.php.

◆ $name

Wikimedia\Rdbms\MySQLField::$name
private

Definition at line 6 of file MySQLField.php.

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

◆ $nullable

Wikimedia\Rdbms\MySQLField::$nullable

Definition at line 6 of file MySQLField.php.

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

◆ $tablename

Wikimedia\Rdbms\MySQLField::$tablename

Definition at line 6 of file MySQLField.php.

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

◆ $type

Wikimedia\Rdbms\MySQLField::$type

Definition at line 6 of file MySQLField.php.

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


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