PHP Class Flake\Core\Requester\Sql

Inheritance: extends Flake\Core\Requester
Show file Open project: jeromeschneider/baikal

Protected Properties

Property Type Description
$aClauses
$bHasBeenExecuted
$iLimitNumber
$iLimitStart
$sDataTable
$sModelClass
$sOrderDirection
$sOrderField

Public Methods

Method Description
addClauseEquals ( $sField, $sValue )
addClauseIn ( $sField, $sValue )
addClauseLike ( $sField, $sValue )
addClauseLikeBeginning ( $sField, $sValue )
addClauseLikeEnd ( $sField, $sValue )
addClauseLiteral ( $sClause )
addClauseNotEquals ( $sField, $sValue )
addClauseNotIn ( $sField, $sValue )
addClauseNotLike ( $sField, $sValue )
addClauseNotLikeBeginning ( $sField, $sValue )
addClauseNotLikeEnd ( $sField, $sValue )
count ( )
execute ( )
getCountQuery ( )
getQuery ( $sFields = "*" )
hasBeenExecuted ( )
setDataTable ( $sDataTable )

Protected Methods

Method Description
addClauseWrapped ( $sField, $sValue, $sWrap )
escapeSqlValue ( $sValue )
reify ( $aData )

Method Details

addClauseEquals() public method

public addClauseEquals ( $sField, $sValue )

addClauseIn() public method

public addClauseIn ( $sField, $sValue )

addClauseLike() public method

public addClauseLike ( $sField, $sValue )

addClauseLikeBeginning() public method

public addClauseLikeBeginning ( $sField, $sValue )

addClauseLikeEnd() public method

public addClauseLikeEnd ( $sField, $sValue )

addClauseLiteral() public method

public addClauseLiteral ( $sClause )

addClauseNotEquals() public method

public addClauseNotEquals ( $sField, $sValue )

addClauseNotIn() public method

public addClauseNotIn ( $sField, $sValue )

addClauseNotLike() public method

public addClauseNotLike ( $sField, $sValue )

addClauseNotLikeBeginning() public method

public addClauseNotLikeBeginning ( $sField, $sValue )

addClauseNotLikeEnd() public method

public addClauseNotLikeEnd ( $sField, $sValue )

addClauseWrapped() protected method

protected addClauseWrapped ( $sField, $sValue, $sWrap )

count() public method

public count ( )

escapeSqlValue() protected method

protected escapeSqlValue ( $sValue )

execute() public method

public execute ( )

getCountQuery() public method

public getCountQuery ( )

getQuery() public method

public getQuery ( $sFields = "*" )

hasBeenExecuted() public method

public hasBeenExecuted ( )

reify() protected method

protected reify ( $aData )

setDataTable() public method

public setDataTable ( $sDataTable )

Property Details

$aClauses protected property

protected $aClauses

$bHasBeenExecuted protected property

protected $bHasBeenExecuted

$iLimitNumber protected property

protected $iLimitNumber

$iLimitStart protected property

protected $iLimitStart

$sDataTable protected property

protected $sDataTable

$sModelClass protected property

protected $sModelClass

$sOrderDirection protected property

protected $sOrderDirection

$sOrderField protected property

protected $sOrderField