Class TCachingStatement

Description

Implements interfaces:

TCacheingStatement class.

  • author: Wei Zhuo <weizhuo[at]gmail[dot]com>
  • version: $Id: TCachingStatement.php 2996 2011-06-20 15:24:57Z ctrlaltca@gmail.com $
  • since: 3.1

Located in /Data/SqlMap/Statements/TCachingStatement.php (line 21)

TComponent
   |
   --TCachingStatement
Method Summary
TCachingStatement __construct (TMappedStatement $statement)
void createCommand ( $connection,  $parameter, [ $skip = null], [ $max = null])
void executeInsert ( $connection,  $parameter)
void executeQueryForList ( $connection,  $parameter, [ $result = null], [ $skip = -1], [ $max = -1], [ $delegate = null])
void executeQueryForMap ( $connection,  $parameter,  $keyProperty, [ $valueProperty = null], [ $skip = -1], [ $max = -1], [ $delegate = null])
void executeQueryForObject ( $connection,  $parameter, [ $result = null])
void executeUpdate ( $connection,  $parameter)
void getCacheKey ( $object)
void getID ()
void getManager ()
void getStatement ()
Methods
Constructor __construct (line 25)
  • access: public
TCachingStatement __construct (TMappedStatement $statement)
createCommand (line 102)
  • access: protected
void createCommand ( $connection,  $parameter, [ $skip = null], [ $max = null])
  • $connection
  • $parameter
  • $skip
  • $max
executeInsert (line 64)
  • access: public
void executeInsert ( $connection,  $parameter)
  • $connection
  • $parameter
executeQueryForList (line 69)
  • access: public
void executeQueryForList ( $connection,  $parameter, [ $result = null], [ $skip = -1], [ $max = -1], [ $delegate = null])
  • $connection
  • $parameter
  • $result
  • $skip
  • $max
  • $delegate

Implementation of:
IMappedStatement::executeQueryForList()
Executes the SQL and retuns a subset of the rows selected.
executeQueryForMap (line 45)
  • access: public
void executeQueryForMap ( $connection,  $parameter,  $keyProperty, [ $valueProperty = null], [ $skip = -1], [ $max = -1], [ $delegate = null])
  • $connection
  • $parameter
  • $keyProperty
  • $valueProperty
  • $skip
  • $max
  • $delegate

Implementation of:
IMappedStatement::executeQueryForMap()
Executes the SQL and retuns all rows selected in a map that is keyed on
executeQueryForObject (line 83)
  • access: public
void executeQueryForObject ( $connection,  $parameter, [ $result = null])
  • $connection
  • $parameter
  • $result

Implementation of:
IMappedStatement::executeQueryForObject()
Executes an SQL statement that returns a single row as an object of the type of the <tt>$result</tt> passed in as a parameter.
executeUpdate (line 59)
  • access: public
void executeUpdate ( $connection,  $parameter)
  • $connection
  • $parameter

Implementation of:
IMappedStatement::executeUpdate()
Execute an update statement. Also used for delete statement. Return the number of row effected.
getCacheKey (line 96)
  • access: protected
void getCacheKey ( $object)
  • $object
getID (line 30)
  • access: public
void getID ()

Implementation of:
IMappedStatement::getID()
getManager (line 40)
  • access: public
void getManager ()

Implementation of:
IMappedStatement::getManager()
getStatement (line 35)
  • access: public
void getStatement ()

Implementation of:
IMappedStatement::getStatement()

Inherited Methods

Inherited From TComponent

TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__call()
TComponent::__get()
TComponent::__set()
TComponent::__sleep()
TComponent::__wakeup()

Documentation generated on Mon, 25 Jun 2012 14:37:27 +0200 by phpDocumentor 1.4.3