* @file ORMResult.php
* @ingroup ORM
*
- * @licence GNU GPL v2 or later
+ * @license GNU GPL v2 or later
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class ORMResult implements ORMIterator {
-
/**
* @var ResultWrapper
*/
protected $res;
/**
- * @var integer
+ * @var int
*/
protected $key;
}
/**
- * @param $row
+ * @param bool|object $row
*/
protected function setCurrent( $row ) {
if ( $row === false ) {
}
/**
- * @return integer
+ * @return int
*/
public function count() {
return $this->res->numRows();
}
/**
- * @return boolean
+ * @return bool
*/
public function isEmpty() {
return $this->res->numRows() === 0;
}
/**
- * @return integer
+ * @return int
*/
public function key() {
return $this->key;
}
/**
- * @return boolean
+ * @return bool
*/
public function valid() {
return $this->current !== false;
}
-
}