* @ingroup Database
*/
-/**
- * Utility class.
- * @ingroup Database
- */
-class DBObject {
- public $mData;
-
- function __construct( $data ) {
- $this->mData = $data;
- }
-
- /**
- * @return bool
- */
- function isLOB() {
- return false;
- }
-
- function data() {
- return $this->mData;
- }
-}
-
/**
* Utility class
* @ingroup Database
}
/**
- * @return stdClass|array|false
+ * @return stdClass|array|bool
*/
function current() {
if ( is_null( $this->currentRow ) ) {
/**
* Callers want to be able to access fields with $this->fieldName
- * @return false|stdClass
+ * @return bool|stdClass
*/
function fetchObject() {
$this->fetchRow();
}
/**
- * @return false|stdClass
+ * @return bool|stdClass
*/
function next() {
return $this->fetchObject();
* The implementation details of this opaque type are up to the database subclass.
*/
interface DBMasterPos {
+ /**
+ * @return float UNIX timestamp
+ */
+ public function asOfTime();
}