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

Constructor & Destructor Documentation

MySQLField::__construct (   $info)

Definition at line 7 of file MySQLField.php.

References $is_multiple, name(), and type().

Member Function Documentation

MySQLField::defaultValue ( )

Definition at line 53 of file MySQLField.php.

References $default.

MySQLField::isBinary ( )
Returns
bool

Definition at line 74 of file MySQLField.php.

References $binary.

MySQLField::isBlob ( )
Returns
bool

Definition at line 88 of file MySQLField.php.

References $is_blob.

MySQLField::isKey ( )
Returns
bool

Definition at line 60 of file MySQLField.php.

References $is_key.

MySQLField::isMultipleKey ( )
Returns
bool

Definition at line 67 of file MySQLField.php.

References $is_multiple.

MySQLField::isNullable ( )
Returns
bool

Implements Field.

Definition at line 49 of file MySQLField.php.

References $nullable.

MySQLField::isNumeric ( )
Returns
bool

Definition at line 81 of file MySQLField.php.

References $is_numeric.

MySQLField::isUnsigned ( )
Returns
bool

Definition at line 95 of file MySQLField.php.

References $is_unsigned.

MySQLField::isZerofill ( )
Returns
bool

Definition at line 102 of file MySQLField.php.

References $is_zerofill.

MySQLField::name ( )
Returns
string

Implements Field.

Definition at line 28 of file MySQLField.php.

References $name.

Referenced by __construct().

MySQLField::tableName ( )
Returns
string

Implements Field.

Definition at line 35 of file MySQLField.php.

References $tablename.

MySQLField::type ( )
Returns
string

Implements Field.

Definition at line 42 of file MySQLField.php.

References $type.

Referenced by __construct().

Member Data Documentation

MySQLField::$binary

Definition at line 3 of file MySQLField.php.

Referenced by isBinary().

MySQLField::$default

Definition at line 3 of file MySQLField.php.

Referenced by defaultValue().

MySQLField::$is_blob

Definition at line 3 of file MySQLField.php.

Referenced by isBlob().

MySQLField::$is_key

Definition at line 3 of file MySQLField.php.

Referenced by isKey().

MySQLField::$is_multiple

Definition at line 3 of file MySQLField.php.

Referenced by __construct(), and isMultipleKey().

MySQLField::$is_numeric

Definition at line 3 of file MySQLField.php.

Referenced by isNumeric().

MySQLField::$is_pk

Definition at line 3 of file MySQLField.php.

MySQLField::$is_unique

Definition at line 3 of file MySQLField.php.

MySQLField::$is_unsigned

Definition at line 3 of file MySQLField.php.

Referenced by isUnsigned().

MySQLField::$is_zerofill

Definition at line 3 of file MySQLField.php.

Referenced by isZerofill().

MySQLField::$max_length

Definition at line 3 of file MySQLField.php.

MySQLField::$name
private

Definition at line 3 of file MySQLField.php.

Referenced by name().

MySQLField::$nullable

Definition at line 3 of file MySQLField.php.

Referenced by isNullable().

MySQLField::$tablename

Definition at line 3 of file MySQLField.php.

Referenced by tableName().

MySQLField::$type

Definition at line 3 of file MySQLField.php.

Referenced by type().


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