示例#1
0
 /**
  * Import an object.
  * @param ChunsuObject $importme The object to import.
  * @param DataSource $source The data source to import the object from.
  * @return bool TRUE is successful, FALSE otherwise.
  */
 function import(&$importme, $source)
 {
     parent::import($importme, $source);
     return $this->loadOrImport(FALSE, $importme, $source);
 }
示例#2
0
 /**
  * Import data from a data source into this object's change set.
  * @param DataSource $ds alternate data source to use.
  */
 function import(&$ds)
 {
     $ds->connect();
     $this->storage_method->import($this, $ds);
 }