function __construct($resultSet, $stmt = null, $parameterNames = array()) { parent::__construct($resultSet); $this->_stmt = $stmt; if ($stmt) { $this->_usesMysqlnd = is_callable(array($stmt, 'get_result')); } $this->parameterNames = $parameterNames; }
/** * finish to initialise a record set. Could be redefined in child class * to do additionnal processes * @param jDbResultSet $rs the record set */ protected function finishInitResultSet($rs) { $rs->setFetchMode(8, $this->_DaoRecordClassName); }
public function __construct($stmtId, $cnt = null) { $this->_cnt = $cnt; parent::__construct($stmtId); }
/** * modifier plugin : display count of a DbResultSet Object (how many records) * * <pre>{$myarray|count_records}</pre> * @param jDbResultSet $DbResultSet * @return integer */ function jtpl_modifier_common_count_records($DbResultSet) { return $DbResultSet->rowCount(); }
/** * @param SQLite3Result $result * @param SQLite3Stmt $stmt */ function __construct($result, $stmt = null) { parent::__construct($result); $this->_stmt = $stmt; }