| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- <?php
- /**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category Zend
- * @package Zend_Db
- * @subpackage UnitTests
- * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id$
- */
- /**
- * @see Zend_Db_Statement_Interface
- */
- require_once 'Zend/Db/Statement/Interface.php';
- /**
- * Emulates a PDOStatement for native database adapters.
- *
- * @category Zend
- * @package Zend_Db
- * @subpackage UnitTests
- * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
- * @license http://framework.zend.com/license/new-bsd New BSD License
- */
- class Zend_Db_Statement_Static implements Zend_Db_Statement_Interface
- {
- /**
- * binds a PHP variable to an output column in a result set
- */
- public function bindColumn($column, &$param, $type = null)
- {
- }
- /**
- * binds a PHP variable to a parameter in the prepared statement
- */
- public function bindParam($parameter, &$variable, $type = null, $length = null, $options = null)
- {
- }
- /**
- * binds a value to a parameter in the prepared statement
- */
- public function bindValue($parameter, $value, $type = null)
- {
- }
- /**
- * closes the cursor, allowing the statement to be executed again
- */
- public function closeCursor()
- {
- }
- /**
- * returns the number of columns in the result set
- */
- public function columnCount()
- {
- }
- /**
- * retrieves an error code, if any, from the statement
- */
- public function errorCode()
- {
- }
- /**
- * retrieves an array of error information, if any, from the statement
- */
- public function errorInfo()
- {
- }
- /**
- * executes a prepared statement
- */
- public function execute(array $params = array())
- {
- }
- /**
- * fetches a row from a result set
- */
- public function fetch($style = null, $cursor = null, $offset = null)
- {
- }
- /**
- * fetches an array containing all of the rows from a result set
- */
- public function fetchAll($style = null, $col = null)
- {
- }
- /**
- * returns the data from a single column in a result set
- */
- public function fetchColumn($col = 0)
- {
- }
- /**
- * fetches the next row and returns it as an object
- */
- public function fetchObject($class = 'stdClass', array $config = array())
- {
- }
- /**
- * retrieves a Zend_Db_Statement attribute
- */
- public function getAttribute($key)
- {
- }
- /**
- * retrieves the next rowset (result set)
- */
- public function nextRowset()
- {
- }
- /**
- * returns the number of rows that were affected by the execution of an SQL statement
- */
- public function rowCount()
- {
- }
- /**
- * sets a Zend_Db_Statement attribute
- */
- public function setAttribute($key, $val)
- {
- }
- /**
- * sets the fetch mode for a Zend_Db_Statement
- */
- public function setFetchMode($mode)
- {
- }
- }
|