Class QDatabaseCodeGen
- QBaseClass
- QCodeGenBase
- QCodeGen
- QDatabaseCodeGen
public
|
|
public
|
|
public
boolean
|
#
ValidateTableColumn( string $strTableName, string $strColumnName )
Given a CASE INSENSITIVE table and column name, it will return TRUE if the Table/Column exists ANYWHERE in the already analyzed database |
public
|
|
public
|
|
public
|
|
public
|
|
public static
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
#
GetForeignKeyHelper( $strLine, $strFkName, $strTableName, $strColumnName, $strReferencedTable, $strReferencedColumn )
|
protected
DatabaseForeignKeyBase[]
|
#
GetForeignKeysFromRelationshipsScript( string $strTableName, DatabaseForeignKeyBase[] $objForeignKeyArray )
This will go through the various Relationships Script lines (if applicable) as setup during
the __constructor() through the |
public
|
|
public
string
|
#
GetCastString(
Returns a string that will cast a variable coming from the database into a php type. Doing this in the template saves significant amounts of time over using QType::Cast() or GetColumn. |
public
mixed
|
|
public
mixed|
|
Pluralize()
|
OverrideAttributes(),
__call()
|
DebugMode,
PhpReservedWords
|
$Errors,
$Warnings
|