Exemplo n.º 1
0
 /**
  * @param result $result
  * @param Dao $dao
  */
 public function __construct($result, $dao, $totalLength = null)
 {
     parent::__construct($dao, $totalLength);
     $this->result = $result;
     $this->length = $result->numRows();
     $this->next();
 }
Exemplo n.º 2
0
 public function testGetDao()
 {
     self::assertSame($this->dao, $this->daoResultIterator->getDao());
 }
Exemplo n.º 3
0
 /**
  * @param DataSourceResult $result
  * @param Dao $dao
  */
 public function __construct($result, $dao)
 {
     parent::__construct($dao);
     $this->result = $result;
     $this->next();
 }