/** * 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); }
/** * 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); }