PHP Class QQueryBuilder, qcodo

Inheritance: extends QBaseClass
Mostrar archivo Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Property Type Description
$blnCountOnlyFlag
$blnDistinctFlag
$intColumnAliasCount
$intTableAliasCount
$objDatabase
$objVirtualNodeArray
$strColumnAliasArray
$strCustomFromArray
$strEscapeIdentifierBegin
$strEscapeIdentifierEnd
$strExpandAsArrayNodes
$strFromArray
$strGroupByArray
$strJoinArray
$strJoinConditionArray
$strLimitInfo
$strOrderByArray
$strRootTableName
$strSelectArray
$strTableAliasArray
$strWhereArray

Public Methods

Method Description
AddExpandAsArrayNode ( $objNode )
AddFromItem ( $strTableName, $strAliasOverride = null )
AddGroupByItem ( $strItem )
AddJoinCustomItem ( $strJoinTableName, $strJoinTableAlias, QQCondition $objJoinCondition )
AddJoinCustomSqlItem ( $strSql )
AddJoinItem ( $strJoinTableName, $strJoinTableAlias, $strTableName, $strColumnName, $strLinkedColumnName, QQCondition $objJoinCondition = null )
AddOrderByItem ( $strItem )
AddSelectFunction ( $strFunctionName, $strColumnName, $strFullAlias )
AddSelectItem ( $strTableName, $strColumnName, $strFullAlias )
AddWhereItem ( $strItem )
GetStatement ( )
GetTableAlias ( $strTableName )
GetVirtualNode ( $strName )
SetCountOnlyFlag ( )
SetDistinctFlag ( )
SetLimitInfo ( $strLimitInfo )
SetVirtualNode ( $strName, QQSubQueryNode $objNode )
__construct ( QDatabaseBase $objDatabase, $strRootTableName )
__get ( $strName )

Method Details

AddExpandAsArrayNode() public method

public AddExpandAsArrayNode ( $objNode )

AddFromItem() public method

public AddFromItem ( $strTableName, $strAliasOverride = null )

AddGroupByItem() public method

public AddGroupByItem ( $strItem )

AddJoinCustomItem() public method

public AddJoinCustomItem ( $strJoinTableName, $strJoinTableAlias, QQCondition $objJoinCondition )
$objJoinCondition QQCondition

AddJoinCustomSqlItem() public method

public AddJoinCustomSqlItem ( $strSql )

AddJoinItem() public method

public AddJoinItem ( $strJoinTableName, $strJoinTableAlias, $strTableName, $strColumnName, $strLinkedColumnName, QQCondition $objJoinCondition = null )
$objJoinCondition QQCondition

AddOrderByItem() public method

public AddOrderByItem ( $strItem )

AddSelectFunction() public method

public AddSelectFunction ( $strFunctionName, $strColumnName, $strFullAlias )

AddSelectItem() public method

public AddSelectItem ( $strTableName, $strColumnName, $strFullAlias )

AddWhereItem() public method

public AddWhereItem ( $strItem )

GetStatement() public method

public GetStatement ( )

GetTableAlias() public method

public GetTableAlias ( $strTableName )

GetVirtualNode() public method

public GetVirtualNode ( $strName )

SetCountOnlyFlag() public method

public SetCountOnlyFlag ( )

SetDistinctFlag() public method

public SetDistinctFlag ( )

SetLimitInfo() public method

public SetLimitInfo ( $strLimitInfo )

SetVirtualNode() public method

public SetVirtualNode ( $strName, QQSubQueryNode $objNode )
$objNode QQSubQueryNode

__construct() public method

public __construct ( QDatabaseBase $objDatabase, $strRootTableName )
$objDatabase QDatabaseBase

__get() public method

public __get ( $strName )

Property Details

$blnCountOnlyFlag protected_oe property

protected $blnCountOnlyFlag

$blnDistinctFlag protected_oe property

protected $blnDistinctFlag

$intColumnAliasCount protected_oe property

protected $intColumnAliasCount

$intTableAliasCount protected_oe property

protected $intTableAliasCount

$objDatabase protected_oe property

protected $objDatabase

$objVirtualNodeArray protected_oe property

protected $objVirtualNodeArray

$strColumnAliasArray protected_oe property

protected $strColumnAliasArray

$strCustomFromArray protected_oe property

protected $strCustomFromArray

$strEscapeIdentifierBegin protected_oe property

protected $strEscapeIdentifierBegin

$strEscapeIdentifierEnd protected_oe property

protected $strEscapeIdentifierEnd

$strExpandAsArrayNodes protected_oe property

protected $strExpandAsArrayNodes

$strFromArray protected_oe property

protected $strFromArray

$strGroupByArray protected_oe property

protected $strGroupByArray

$strJoinArray protected_oe property

protected $strJoinArray

$strJoinConditionArray protected_oe property

protected $strJoinConditionArray

$strLimitInfo protected_oe property

protected $strLimitInfo

$strOrderByArray protected_oe property

protected $strOrderByArray

$strRootTableName protected_oe property

protected $strRootTableName

$strSelectArray protected_oe property

protected $strSelectArray

$strTableAliasArray protected_oe property

protected $strTableAliasArray

$strWhereArray protected_oe property

protected $strWhereArray