示例#1
0
 /**
  * @param SQL_STORAGE $storage Store values to this object.
  */
 public function store_to($storage)
 {
     parent::store_to($storage);
     $tname = $this->table_name();
     $storage->add($tname, 'branch_id', Field_type_integer, $this->branch_id);
     $storage->add($tname, 'summary', Field_type_string, $this->summary);
     $storage->add($tname, 'time_next_deadline', Field_type_date_time, $this->time_next_deadline);
     $storage->add($tname, 'time_scheduled', Field_type_date_time, $this->time_scheduled);
     $storage->add($tname, 'time_shipped', Field_type_date_time, $this->time_shipped);
     $storage->add($tname, 'time_testing_scheduled', Field_type_date_time, $this->time_testing_scheduled);
     $storage->add($tname, 'time_tested', Field_type_date_time, $this->time_tested);
 }
示例#2
0
 /**
  * @param SQL_STORAGE $storage Store values to this object.
  */
 public function store_to($storage)
 {
     parent::store_to($storage);
     $tname = $this->table_name();
     $fldr_id = $this->parent_folder_id();
     $storage->add($tname, 'folder_id', Field_type_integer, $fldr_id, Storage_action_create);
     $storage->add($tname, 'parent_release_id', Field_type_integer, $this->parent_release_id);
 }
示例#3
0
 /**
  * @param SQL_STORAGE $storage Store values to this object.
  */
 public function store_to($storage)
 {
     parent::store_to($storage);
     $tname = $this->table_name();
     $storage->add($tname, 'type', Field_type_string, $this->type, Storage_action_create);
     $storage->add($tname, 'object_id', Field_type_integer, $this->object_id, Storage_action_create);
     $storage->add($tname, 'original_file_name', Field_type_string, $this->original_file_name);
     $storage->add($tname, 'file_name', Field_type_string, $this->file_name);
     $storage->add($tname, 'size', Field_type_integer, $this->size);
     $storage->add($tname, 'mime_type', Field_type_string, $this->mime_type);
     $storage->add($tname, 'is_image', Field_type_boolean, $this->is_image);
     $storage->add($tname, 'is_archive', Field_type_boolean, $this->is_archive);
 }
示例#4
0
 /**
  * @param SQL_STORAGE $storage Store values to this object.
  */
 public function store_to($storage)
 {
     parent::store_to($storage);
     $table_name = $this->table_name();
     $folder_id = $this->parent_folder_id();
     $storage->add($table_name, 'folder_id', Field_type_integer, $folder_id, Storage_action_create);
     $storage->add($table_name, 'icon_url', Field_type_string, $this->icon_url);
 }