public function __construct(Context $context, DatabaseResult $result) { $this->_context = $context; for ($i = 0; $i < $result->num_rows(); $i++) { $record = $result->fetch($i); $this->_keys[] = $this->key_from_record($record); } }
function query($query) { $osC_Database_Result = new DatabaseResult($this); $osC_Database_Result->setQuery($query); return $osC_Database_Result; }
/** * ImportDatabaseResult constructor. */ public function __construct() { parent::__construct(); }