Page MenuHomeDevCentral

DatabaseResult.php
No OneTemporary

DatabaseResult.php

<?php
/**
* _, __, _, _ __, _ _, _, _
* / \ |_) (_ | | \ | /_\ |\ |
* \ / |_) , ) | |_/ | | | | \|
* ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
*
* Database result base class
*
* @package ObsidianWorkspaces
* @subpackage Keruald
* @author Sébastien Santoro aka Dereckson <dereckson@espace-win.org>
* @license http://www.opensource.org/licenses/bsd-license.php BSD
* @filesource
*
*/
abstract class DatabaseResult implements IteratorAggregate {
///
/// The methods to implement
///
/**
* Gets number of rows in result
*
* @return int The number of rows in the specified result
*/
public abstract function numRows ();
/**
* Fetches a row of the result
*
* @param DatabaseResult $result The query result
* @return array An associative array with the databae result
*/
public abstract function fetchRow ();
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 7, 05:23 (1 d, 14 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4227593
Default Alt Text
DatabaseResult.php (909 B)

Event Timeline