Пример #1
0
 /**
  * Load an object.
  * @param ChunsuObject $loadme The object to load.
  * @param DataSource $source The data source to load the object from.
  * @return bool TRUE is successful, FALSE otherwise.
  */
 function load(&$loadme, $source)
 {
     parent::load($loadme, $source);
     return $this->loadOrImport(TRUE, $loadme, $source);
 }
Пример #2
0
 /**
  * Load the data for this object from the data source.
  */
 function load()
 {
     $this->connectDataSource();
     $this->storage_method->load($this, $this->datasource);
     $this->is_loaded = TRUE;
 }