Aplus Framework Docs

Field
in package

Class Field.

Table of Contents

$catalog  : string
$charsetnr  : int
$db  : string
$decimals  : int
$def  : string
$flagAutoIncrement  : bool
$flagBinary  : bool
$flagBlob  : bool
$flagEnum  : bool
$flagGroup  : bool
$flagMultipleKey  : bool
$flagNoDefaultValue  : bool
$flagNotNull  : bool
$flagNum  : bool
$flagOnUpdateNow  : bool
$flagPartKey  : bool
$flagPriKey  : bool
$flags  : int
$flagSet  : bool
$flagTimestamp  : bool
$flagUniqueKey  : bool
$flagUnsigned  : bool
$flagZerofill  : bool
$length  : int
$maxLength  : int
$name  : string
$orgname  : string
$orgtable  : string
$table  : string
$type  : int
$typeName  : string|null
$catalog  : string
$charsetnr  : int
$db  : string
$decimals  : int
$def  : string
$flagAutoIncrement  : bool
$flagBinary  : bool
$flagBlob  : bool
$flagEnum  : bool
$flagGroup  : bool
$flagMultipleKey  : bool
$flagNoDefaultValue  : bool
$flagNotNull  : bool
$flagNum  : bool
$flagOnUpdateNow  : bool
$flagPartKey  : bool
$flagPriKey  : bool
$flags  : int
$flagSet  : bool
$flagTimestamp  : bool
$flagUniqueKey  : bool
$flagUnsigned  : bool
$flagZerofill  : bool
$length  : int
$maxLength  : int
$name  : string
$orgname  : string
$orgtable  : string
$table  : string
$type  : int
$typeName  : string|null
__construct()  : mixed
__get()  : mixed
setFlags()  : void
setTypeName()  : void

Properties

$catalog read-only

public string $catalog

$charsetnr read-only

public int $charsetnr

The character set number for the field

$db read-only

public string $db

$decimals read-only

public int $decimals

The number of decimals used (for integer fields)

$def read-only

public string $def

The default value for this field, represented as a string

$flagAutoIncrement read-only

public bool $flagAutoIncrement

Tell if it has the MYSQLI_AUTO_INCREMENT_FLAG bit-flag

$flagBinary read-only

public bool $flagBinary

Tell if it has the MYSQLI_BINARY_FLAG bit-flag

$flagBlob read-only

public bool $flagBlob

Tell if it has the MYSQLI_BLOB_FLAG bit-flag

$flagEnum read-only

public bool $flagEnum

Tell if it has the MYSQLI_ENUM_FLAG bit-flag

$flagGroup read-only

public bool $flagGroup

Tell if it has the MYSQLI_GROUP_FLAG bit-flag

$flagMultipleKey read-only

public bool $flagMultipleKey

Tell if it has the MYSQLI_MULTIPLE_KEY_FLAG bit-flag

$flagNoDefaultValue read-only

public bool $flagNoDefaultValue

Tell if it has the MYSQLI_NO_DEFAULT_VALUE_FLAG bit-flag

$flagNotNull read-only

public bool $flagNotNull

Tell if it has the MYSQLI_NOT_NULL_FLAG bit-flag

$flagNum read-only

public bool $flagNum

Tell if it has the MYSQLI_NUM_FLAG bit-flag

$flagOnUpdateNow read-only

public bool $flagOnUpdateNow

Tell if it has the MYSQLI_ON_UPDATE_NOW_FLAG bit-flag

$flagPartKey read-only

public bool $flagPartKey

Tell if it has the MYSQLI_PART_KEY_FLAG bit-flag

$flagPriKey read-only

public bool $flagPriKey

Tell if it has the MYSQLI_PRI_KEY_FLAG bit-flag

$flags read-only

public int $flags

An integer representing the bit-flags for the field

$flagSet read-only

public bool $flagSet

Tell if it has the MYSQLI_SET_FLAG bit-flag

$flagTimestamp read-only

public bool $flagTimestamp

Tell if it has the MYSQLI_TIMESTAMP_FLAG bit-flag

$flagUniqueKey read-only

public bool $flagUniqueKey

Tell if it has the MYSQLI_UNIQUE_KEY_FLAG bit-flag

$flagUnsigned read-only

public bool $flagUnsigned

Tell if it has the MYSQLI_UNSIGNED_FLAG bit-flag

$flagZerofill read-only

public bool $flagZerofill

Tell if it has the MYSQLI_ZEROFILL_FLAG bit-flag

$length read-only

public int $length

The width of the field, as specified in the table definition

$maxLength read-only

public int $maxLength

The maximum width of the field for the result set

$name read-only

public string $name

The name of the column

$orgname read-only

public string $orgname

Original column name if an alias was specified

$orgtable read-only

public string $orgtable

Original table name if an alias was specified

$table read-only

public string $table

The name of the table this field belongs to (if not calculated)

$type read-only

public int $type

The data type used for this field

$typeName read-only

public string|null $typeName

The data type name

$catalog

protected string $catalog

$charsetnr

protected int $charsetnr

$decimals

protected int $decimals

$flagAutoIncrement

protected bool $flagAutoIncrement = false

$flagBinary

protected bool $flagBinary = false

$flagBlob

protected bool $flagBlob = false

$flagEnum

protected bool $flagEnum = false

$flagGroup

protected bool $flagGroup = false

$flagMultipleKey

protected bool $flagMultipleKey = false

$flagNoDefaultValue

protected bool $flagNoDefaultValue = false

$flagNotNull

protected bool $flagNotNull = false

$flagNum

protected bool $flagNum = false

$flagOnUpdateNow

protected bool $flagOnUpdateNow = false

$flagPartKey

protected bool $flagPartKey = false

$flagPriKey

protected bool $flagPriKey = false

$flagSet

protected bool $flagSet = false

$flagTimestamp

protected bool $flagTimestamp = false

$flagUniqueKey

protected bool $flagUniqueKey = false

$flagUnsigned

protected bool $flagUnsigned = false

$flagZerofill

protected bool $flagZerofill = false

$length

protected int $length

$maxLength

protected int $maxLength

$name

protected string $name

$orgname

protected string $orgname

$orgtable

protected string $orgtable

$table

protected string $table

$typeName

protected string|null $typeName

Methods

__construct()

public __construct(stdClass $field) : mixed
Parameters
$field : stdClass
Return values
mixed

__get()

public __get(string $name) : mixed
Parameters
$name : string
Return values
mixed

setFlags()

protected setFlags() : void
Return values
void

setTypeName()

protected setTypeName() : void
Return values
void

Search results