Class QTypeTable
Used by the QCubed Code Generator to describe a database Type Table "Type" tables must be defined with at least two columns, the first one being an integer-based primary key, and the second one being the name of the type.
- QBaseClass
- QTypeTable
public
|
|
public static
string
|
|
public
mixed
|
|
public
mixed
|
OverrideAttributes(),
__call()
|
protected
string
|
$strName
Name of the table (as defined in the database) |
|
protected
string
|
$strClassName
Name as a PHP Class |
|
protected
string[]
|
$strNameArray
Array of Type Names (as entered into the rows of this database table) This is indexed by integer which represents the ID in the database, starting with 1 |
|
protected
|
$strExtraFieldNamesArray
Column names for extra properties (beyond the 2 basic columns), if any. |
|
protected
|
$arrExtraPropertyArray
Array of extra properties. This is a double-array - array of arrays. Example: 1 => ['col1' => 'valueA', 'col2 => 'valueB'], 2 => ['col1' => 'valueC', 'col2 => 'valueD'], 3 => ['col1' => 'valueC', 'col2 => 'valueD'] |
|
protected
string[]
|
$strTokenArray
Array of Type Names converted into Tokens (can be used as PHP Constants) This is indexed by integer which represents the ID in the database, starting with 1 |
|
protected
|
$objKeyColumn
|
|
protected
|
$objManyToManyReferenceArray
|
public
string
|
$Name
|
public
string
|
$ClassName
|
public
array
|
$ExtraPropertyArray
|
public write-only
|
$KeyColumn
|