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);
     }
 }
Esempio n. 2
0
 function query($query)
 {
     $osC_Database_Result = new DatabaseResult($this);
     $osC_Database_Result->setQuery($query);
     return $osC_Database_Result;
 }
Esempio n. 3
0
 /**
  * ImportDatabaseResult constructor.
  */
 public function __construct()
 {
     parent::__construct();
 }