コード例 #1
0
ファイル: connectorresult.php プロジェクト: Hawkart/megatv
 /** @return Int */
 public function getSelectedRowsCount()
 {
     if ($this->resource) {
         return $this->resource->getSelectedRowsCount();
     } elseif ($this->resourceCDBResult) {
         if (!$this->resourceCDBResult instanceof \CDBResultMysql) {
             $this->resourceCDBResult->NavStart(0);
         }
         return $this->resourceCDBResult->SelectedRowsCount();
     }
     return 0;
 }
コード例 #2
0
ファイル: oracleresult.php プロジェクト: spas-viktor/books
 public function __construct($result, Connection $dbConnection = null, \Bitrix\Main\Diag\SqlTrackerQuery $trackerQuery = null)
 {
     parent::__construct($result, $dbConnection, $trackerQuery);
 }
コード例 #3
0
ファイル: dbresult.php プロジェクト: DarneoStudio/bitrix
 /**
  * Move forward to next element
  * @link http://php.net/manual/en/iterator.next.php
  * @return void Any returned value is ignored.
  * @since 5.0.0
  */
 public function next()
 {
     $this->currentData = $this->result->fetch($this->converter);
     $this->counter++;
 }