Class: Doctrine_Adapter_Statement

Source Location: /Doctrine/Adapter/Statement.php

Class Doctrine_Adapter_Statement

Class Overview

Doctrine_Adapter_Statement

Located in /Doctrine/Adapter/Statement.php [line 32]



		
				Author(s):
		
		
		API Tags:
Abstract:  

Information Tags:
Version:  $Revision: 1917 $
Link:  www.phpdoctrine.com
Since:  1.0
License:  LGPL

Methods

[ Top ]
Method Summary
void   bindValue()  
void   columnCount()  
void   errorCode()  
void   errorInfo()  
void   execute()  
mixed   fetch()   fetch
void   nextRowset()  
void   rowCount()  
void   setFetchMode()  

[ Top ]
Methods
bindValue  [line 34]

  void bindValue( $no, $value  )

Parameters:
   $no: 
   $value: 

API Tags:
Access:  public


[ Top ]
columnCount  [line 85]

  void columnCount( )


API Tags:
Access:  public


[ Top ]
errorCode  [line 73]

  void errorCode( )


API Tags:
Access:  public


[ Top ]
errorInfo  [line 76]

  void errorInfo( )


API Tags:
Access:  public


[ Top ]
execute  [line 70]

  void execute( )


API Tags:
Access:  public


[ Top ]
fetch  [line 64]

  mixed fetch( integer $fetchStyle, integer $cursorOrientation, integer $cursorOffset  )

fetch

Parameters:
integer   $fetchStyle:  Controls how the next row will be returned to the caller. This value must be one of the Doctrine::FETCH_* constants, defaulting to Doctrine::FETCH_BOTH
integer   $cursorOrientation:  For a PDOStatement object representing a scrollable cursor, this value determines which row will be returned to the caller. This value must be one of the Doctrine::FETCH_ORI_* constants, defaulting to Doctrine::FETCH_ORI_NEXT. To request a scrollable cursor for your Doctrine_Adapter_Statement_Interface object, you must set the Doctrine::ATTR_CURSOR attribute to Doctrine::CURSOR_SCROLL when you prepare the SQL statement with Doctrine_Adapter_Interface->prepare().
integer   $cursorOffset: 

For a Doctrine_Adapter_Statement_Interface object representing a scrollable cursor for which the $cursorOrientation parameter is set to Doctrine::FETCH_ORI_ABS, this value specifies the absolute number of the row in the result set that shall be fetched.

For a Doctrine_Adapter_Statement_Interface object representing a scrollable cursor for which the $cursorOrientation parameter is set to Doctrine::FETCH_ORI_REL, this value specifies the row to fetch relative to the cursor position before Doctrine_Adapter_Statement_Interface->fetch() was called.


API Tags:
See:  Doctrine::FETCH_* constants
Access:  public


[ Top ]
nextRowset  [line 67]

  void nextRowset( )


API Tags:
Access:  public


[ Top ]
rowCount  [line 79]

  void rowCount( )


API Tags:
Access:  public


[ Top ]
setFetchMode  [line 82]

  void setFetchMode( $mode  )

Parameters:
   $mode: 

API Tags:
Access:  public


[ Top ]