예제 #1
0
 /**
  * Loads a row of data into instance of a bean. The data is passed as an array to this function
  *
  * @param array $arr row of data fetched from the database.
  */
 public final function loadFromRow($arr)
 {
     $this->populateFromRow($arr);
     $this->processed_dates_times = [];
     $this->check_date_relationships_load();
     $this->fill_in_additional_list_fields();
     if ($this->hasCustomFields()) {
         $this->custom_fields->fill_relationships();
     }
     $this->call_custom_logic("process_record");
 }