示例#1
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->user_id = $rs->getInt($startcol + 1);
         $this->newsletter = $rs->getBoolean($startcol + 2);
         $this->mail = $rs->getBoolean($startcol + 3);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 4;
     } catch (Exception $e) {
         throw new PropelException("Error populating Flags object", $e);
     }
 }
示例#2
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->event_id = $rs->getInt($startcol + 0);
         $this->reg_field_id = $rs->getInt($startcol + 1);
         $this->required_field = $rs->getBoolean($startcol + 2);
         $this->field_order = $rs->getInt($startcol + 3);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 4;
     } catch (Exception $e) {
         throw new PropelException("Error populating RegForm object", $e);
     }
 }
示例#3
0
文件: BasePage.php 项目: kotow/work
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->label = $rs->getString($startcol + 1);
         $this->page_type = $rs->getString($startcol + 2);
         $this->navigation_title = $rs->getString($startcol + 3);
         $this->meta_description = $rs->getString($startcol + 4);
         $this->meta_keywords = $rs->getString($startcol + 5);
         $this->image = $rs->getInt($startcol + 6);
         $this->template = $rs->getString($startcol + 7);
         $this->content = $rs->getString($startcol + 8);
         $this->page_id = $rs->getInt($startcol + 9);
         $this->url = $rs->getString($startcol + 10);
         $this->description = $rs->getString($startcol + 11);
         $this->is_secure = $rs->getBoolean($startcol + 12);
         $this->created_at = $rs->getTimestamp($startcol + 13, null);
         $this->updated_at = $rs->getTimestamp($startcol + 14, null);
         $this->publication_status = $rs->getString($startcol + 15);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 16;
     } catch (Exception $e) {
         throw new PropelException("Error populating Page object", $e);
     }
 }
示例#4
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->title = $rs->getString($startcol + 1);
         $this->slug = $rs->getString($startcol + 2);
         $this->status_id = $rs->getInt($startcol + 3);
         $this->category_id = $rs->getInt($startcol + 4);
         $this->published = $rs->getBoolean($startcol + 5);
         $this->media_potential = $rs->getBoolean($startcol + 6);
         $this->description = $rs->getString($startcol + 7);
         $this->notes = $rs->getString($startcol + 8);
         $this->image_url = $rs->getString($startcol + 9);
         $this->updated_at = $rs->getTimestamp($startcol + 10, null);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 11;
     } catch (Exception $e) {
         throw new PropelException("Error populating Event object", $e);
     }
 }
示例#5
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->name = $rs->getString($startcol + 1);
         $this->is_triple = $rs->getBoolean($startcol + 2);
         $this->triple_namespace = $rs->getString($startcol + 3);
         $this->triple_key = $rs->getString($startcol + 4);
         $this->triple_value = $rs->getString($startcol + 5);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 6;
     } catch (Exception $e) {
         throw new PropelException("Error populating Tag object", $e);
     }
 }
 /**
  * Hydrates (populates) the object variables with values from the database resultset.
  *
  * An offset (1-based "start column") is specified so that objects can be hydrated
  * with a subset of the columns in the resultset rows.  This is needed, for example,
  * for results of JOIN queries where the resultset row includes columns from two or
  * more tables.
  *
  * @param      ResultSet $rs The ResultSet class with cursor advanced to desired record pos.
  * @param      int $startcol 1-based offset column which indicates which restultset column to start with.
  * @return     int next starting column
  * @throws     PropelException  - Any caught Exception will be rewrapped as a PropelException.
  */
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->user_id = $rs->getInt($startcol + 0);
         $this->production_id = $rs->getInt($startcol + 1);
         $this->transmit = $rs->getBoolean($startcol + 2);
         $this->resetModified();
         $this->setNew(false);
         // FIXME - using NUM_COLUMNS may be clearer.
         return $startcol + 3;
         // 3 = OnlinePeer::NUM_COLUMNS - OnlinePeer::NUM_LAZY_LOAD_COLUMNS).
     } catch (Exception $e) {
         throw new PropelException("Error populating Online object", $e);
     }
 }
示例#7
0
文件: BaseTag.php 项目: noose/Planeta
 /**
  * Hydrates (populates) the object variables with values from the database resultset.
  *
  * An offset (1-based "start column") is specified so that objects can be hydrated
  * with a subset of the columns in the resultset rows.  This is needed, for example,
  * for results of JOIN queries where the resultset row includes columns from two or
  * more tables.
  *
  * @param      ResultSet $rs The ResultSet class with cursor advanced to desired record pos.
  * @param      int $startcol 1-based offset column which indicates which restultset column to start with.
  * @return     int next starting column
  * @throws     PropelException  - Any caught Exception will be rewrapped as a PropelException.
  */
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->name = $rs->getString($startcol + 1);
         $this->approved = $rs->getBoolean($startcol + 2);
         $this->resetModified();
         $this->setNew(false);
         // FIXME - using NUM_COLUMNS may be clearer.
         return $startcol + 3;
         // 3 = TagPeer::NUM_COLUMNS - TagPeer::NUM_LAZY_LOAD_COLUMNS).
     } catch (Exception $e) {
         throw new PropelException("Error populating Tag object", $e);
     }
 }
示例#8
0
文件: BaseUser.php 项目: kotow/work
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->label = $rs->getString($startcol + 1);
         $this->login = $rs->getString($startcol + 2);
         $this->backend = $rs->getBoolean($startcol + 3);
         $this->type = $rs->getString($startcol + 4);
         $this->sha1_password = $rs->getString($startcol + 5);
         $this->salt = $rs->getString($startcol + 6);
         $this->first_name = $rs->getString($startcol + 7);
         $this->last_name = $rs->getString($startcol + 8);
         $this->email = $rs->getString($startcol + 9);
         $this->phone = $rs->getString($startcol + 10);
         $this->city = $rs->getString($startcol + 11);
         $this->address = $rs->getString($startcol + 12);
         $this->zip = $rs->getString($startcol + 13);
         $this->state = $rs->getString($startcol + 14);
         $this->address2 = $rs->getString($startcol + 15);
         $this->mobile_phone = $rs->getString($startcol + 16);
         $this->work_phone = $rs->getString($startcol + 17);
         $this->contact_name = $rs->getString($startcol + 18);
         $this->contact_number = $rs->getString($startcol + 19);
         $this->activation_code = $rs->getString($startcol + 20);
         $this->created_at = $rs->getTimestamp($startcol + 21, null);
         $this->updated_at = $rs->getTimestamp($startcol + 22, null);
         $this->publication_status = $rs->getString($startcol + 23);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 24;
     } catch (Exception $e) {
         throw new PropelException("Error populating User object", $e);
     }
 }
示例#9
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->uuid = $rs->getString($startcol + 1);
         $this->created_by = $rs->getInt($startcol + 2);
         $this->owner_id = $rs->getInt($startcol + 3);
         $this->department_id = $rs->getInt($startcol + 4);
         $this->campus_id = $rs->getInt($startcol + 5);
         $this->title = $rs->getString($startcol + 6);
         $this->picture = $rs->getString($startcol + 7);
         $this->slug = $rs->getString($startcol + 8);
         $this->description = $rs->getString($startcol + 9);
         $this->notes = $rs->getString($startcol + 10);
         $this->keywords = $rs->getString($startcol + 11);
         $this->begin = $rs->getDate($startcol + 12, null);
         $this->finish = $rs->getDate($startcol + 13, null);
         $this->budget = $rs->getInt($startcol + 14);
         $this->status = $rs->getInt($startcol + 15);
         $this->applications = $rs->getInt($startcol + 16);
         $this->season = $rs->getInt($startcol + 17);
         $this->year = $rs->getDate($startcol + 18, null);
         $this->scale = $rs->getInt($startcol + 19);
         $this->commitment = $rs->getInt($startcol + 20);
         $this->goals = $rs->getInt($startcol + 21);
         $this->goals_complete = $rs->getInt($startcol + 22);
         $this->hours_weekly = $rs->getInt($startcol + 23);
         $this->hours_total = $rs->getInt($startcol + 24);
         $this->published = $rs->getBoolean($startcol + 25);
         $this->flagged_aup = $rs->getBoolean($startcol + 26);
         $this->flagged_help = $rs->getBoolean($startcol + 27);
         $this->main_form = $rs->getString($startcol + 28);
         $this->is_approved = $rs->getBoolean($startcol + 29);
         $this->hits = $rs->getInt($startcol + 30);
         $this->version = $rs->getInt($startcol + 31);
         $this->updated_at = $rs->getTimestamp($startcol + 32, null);
         $this->deleted_at = $rs->getTimestamp($startcol + 33, null);
         $this->created_at = $rs->getTimestamp($startcol + 34, null);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 35;
     } catch (Exception $e) {
         throw new PropelException("Error populating Project object", $e);
     }
 }
示例#10
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->username = $rs->getString($startcol + 1);
         $this->algorithm = $rs->getString($startcol + 2);
         $this->salt = $rs->getString($startcol + 3);
         $this->password = $rs->getString($startcol + 4);
         $this->created_at = $rs->getTimestamp($startcol + 5, null);
         $this->last_login = $rs->getTimestamp($startcol + 6, null);
         $this->is_approved = $rs->getBoolean($startcol + 7);
         $this->is_active = $rs->getBoolean($startcol + 8);
         $this->is_super_admin = $rs->getBoolean($startcol + 9);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 10;
     } catch (Exception $e) {
         throw new PropelException("Error populating sfGuardUser object", $e);
     }
 }
示例#11
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->title = $rs->getString($startcol + 1);
         $this->description = $rs->getString($startcol + 2);
         $this->is_published = $rs->getBoolean($startcol + 3);
         $this->created_at = $rs->getTimestamp($startcol + 4, null);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 5;
     } catch (Exception $e) {
         throw new PropelException("Error populating sfPoll object", $e);
     }
 }
示例#12
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->creator_user_id = $rs->getInt($startcol + 1);
         $this->creator_type = $rs->getString($startcol + 2);
         $this->created = $rs->getTimestamp($startcol + 3, null);
         $this->recipient = $rs->getString($startcol + 4);
         $this->subject = $rs->getString($startcol + 5);
         $this->message = $rs->getString($startcol + 6);
         $this->scheduled = $rs->getBoolean($startcol + 7);
         $this->schedule_time = $rs->getTimestamp($startcol + 8, null);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 9;
     } catch (Exception $e) {
         throw new PropelException("Error populating SmsDraft object", $e);
     }
 }
 /**
  * Hydrates (populates) the object variables with values from the database resultset.
  *
  * An offset (1-based "start column") is specified so that objects can be hydrated
  * with a subset of the columns in the resultset rows.  This is needed, for example,
  * for results of JOIN queries where the resultset row includes columns from two or
  * more tables.
  *
  * @param      ResultSet $rs The ResultSet class with cursor advanced to desired record pos.
  * @param      int $startcol 1-based offset column which indicates which restultset column to start with.
  * @return     int next starting column
  * @throws     PropelException  - Any caught Exception will be rewrapped as a PropelException.
  */
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->created_at = $rs->getTimestamp($startcol + 1, null);
         $this->updated_at = $rs->getTimestamp($startcol + 2, null);
         $this->deleted_at = $rs->getTimestamp($startcol + 3, null);
         $this->schema_id = $rs->getInt($startcol + 4);
         $this->user_id = $rs->getInt($startcol + 5);
         $this->is_maintainer_for = $rs->getBoolean($startcol + 6);
         $this->is_registrar_for = $rs->getBoolean($startcol + 7);
         $this->is_admin_for = $rs->getBoolean($startcol + 8);
         $this->languages = $rs->getString($startcol + 9);
         $this->default_language = $rs->getString($startcol + 10);
         $this->current_language = $rs->getString($startcol + 11);
         $this->resetModified();
         $this->setNew(false);
         // FIXME - using NUM_COLUMNS may be clearer.
         return $startcol + 12;
         // 12 = SchemaHasUserPeer::NUM_COLUMNS - SchemaHasUserPeer::NUM_LAZY_LOAD_COLUMNS).
     } catch (Exception $e) {
         throw new PropelException("Error populating SchemaHasUser object", $e);
     }
 }
示例#14
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->etime_id = $rs->getInt($startcol + 0);
         $this->attending = $rs->getBoolean($startcol + 1);
         $this->paid = $rs->getBoolean($startcol + 2);
         $this->reg_date = $rs->getTimestamp($startcol + 3, null);
         $this->extra_info = $rs->getString($startcol + 4);
         $this->created_at = $rs->getTimestamp($startcol + 5, null);
         $this->updated_at = $rs->getTimestamp($startcol + 6, null);
         $this->title = $rs->getString($startcol + 7);
         $this->firstname = $rs->getString($startcol + 8);
         $this->lastname = $rs->getString($startcol + 9);
         $this->preferred_name = $rs->getString($startcol + 10);
         $this->email = $rs->getString($startcol + 11);
         $this->phone = $rs->getString($startcol + 12);
         $this->mobile = $rs->getString($startcol + 13);
         $this->primary_address_line_1 = $rs->getString($startcol + 14);
         $this->primary_address_line_2 = $rs->getString($startcol + 15);
         $this->primary_address_line_3 = $rs->getString($startcol + 16);
         $this->primary_address_city = $rs->getString($startcol + 17);
         $this->primary_address_postcode = $rs->getString($startcol + 18);
         $this->primary_address_state = $rs->getString($startcol + 19);
         $this->primary_address_country = $rs->getString($startcol + 20);
         $this->secondary_address_line_1 = $rs->getString($startcol + 21);
         $this->secondary_address_line_2 = $rs->getString($startcol + 22);
         $this->secondary_address_line_3 = $rs->getString($startcol + 23);
         $this->secondary_address_city = $rs->getString($startcol + 24);
         $this->secondary_address_postcode = $rs->getString($startcol + 25);
         $this->secondary_address_state = $rs->getString($startcol + 26);
         $this->secondary_address_country = $rs->getString($startcol + 27);
         $this->special_req = $rs->getString($startcol + 28);
         $this->position = $rs->getString($startcol + 29);
         $this->company = $rs->getString($startcol + 30);
         $this->srn = $rs->getString($startcol + 31);
         $this->fan = $rs->getString($startcol + 32);
         $this->aou = $rs->getString($startcol + 33);
         $this->id = $rs->getInt($startcol + 34);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 35;
     } catch (Exception $e) {
         throw new PropelException("Error populating Guest object", $e);
     }
 }
示例#15
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->uuid = $rs->getString($startcol + 1);
         $this->user_id = $rs->getInt($startcol + 2);
         $this->position_id = $rs->getInt($startcol + 3);
         $this->total_hours = $rs->getInt($startcol + 4);
         $this->position = $rs->getInt($startcol + 5);
         $this->status = $rs->getInt($startcol + 6);
         $this->is_approved = $rs->getBoolean($startcol + 7);
         $this->updated_at = $rs->getTimestamp($startcol + 8, null);
         $this->deleted_at = $rs->getTimestamp($startcol + 9, null);
         $this->created_at = $rs->getTimestamp($startcol + 10, null);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 11;
     } catch (Exception $e) {
         throw new PropelException("Error populating ProjectUser object", $e);
     }
 }
示例#16
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->uuid = $rs->getString($startcol + 1);
         $this->position_id = $rs->getInt($startcol + 2);
         $this->title = $rs->getString($startcol + 3);
         $this->description = $rs->getString($startcol + 4);
         $this->deliverables = $rs->getString($startcol + 5);
         $this->deadline = $rs->getDate($startcol + 6, null);
         $this->status = $rs->getInt($startcol + 7);
         $this->rank = $rs->getInt($startcol + 8);
         $this->filled = $rs->getBoolean($startcol + 9);
         $this->updated_at = $rs->getTimestamp($startcol + 10, null);
         $this->deleted_at = $rs->getTimestamp($startcol + 11, null);
         $this->created_at = $rs->getTimestamp($startcol + 12, null);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 13;
     } catch (Exception $e) {
         throw new PropelException("Error populating PositionMilestone object", $e);
     }
 }
 /**
  * Hydrates (populates) the object variables with values from the database resultset.
  *
  * An offset (1-based "start column") is specified so that objects can be hydrated
  * with a subset of the columns in the resultset rows.  This is needed, for example,
  * for results of JOIN queries where the resultset row includes columns from two or
  * more tables.
  *
  * @param      ResultSet $rs The ResultSet class with cursor advanced to desired record pos.
  * @param      int $startcol 1-based offset column which indicates which restultset column to start with.
  * @return     int next starting column
  * @throws     PropelException  - Any caught Exception will be rewrapped as a PropelException.
  */
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->created_at = $rs->getTimestamp($startcol + 1, null);
         $this->updated_at = $rs->getTimestamp($startcol + 2, null);
         $this->deleted_at = $rs->getTimestamp($startcol + 3, null);
         $this->last_updated = $rs->getTimestamp($startcol + 4, null);
         $this->created_user_id = $rs->getInt($startcol + 5);
         $this->updated_user_id = $rs->getInt($startcol + 6);
         $this->concept_id = $rs->getInt($startcol + 7);
         $this->primary_pref_label = $rs->getBoolean($startcol + 8);
         $this->skos_property_id = $rs->getInt($startcol + 9);
         $this->object = $rs->getString($startcol + 10);
         $this->scheme_id = $rs->getInt($startcol + 11);
         $this->related_concept_id = $rs->getInt($startcol + 12);
         $this->language = $rs->getString($startcol + 13);
         $this->status_id = $rs->getInt($startcol + 14);
         $this->is_concept_property = $rs->getBoolean($startcol + 15);
         $this->profile_property_id = $rs->getInt($startcol + 16);
         $this->is_generated = $rs->getBoolean($startcol + 17);
         $this->resetModified();
         $this->setNew(false);
         // FIXME - using NUM_COLUMNS may be clearer.
         return $startcol + 18;
         // 18 = ConceptPropertyPeer::NUM_COLUMNS - ConceptPropertyPeer::NUM_LAZY_LOAD_COLUMNS).
     } catch (Exception $e) {
         throw new PropelException("Error populating ConceptProperty object", $e);
     }
 }
示例#18
0
文件: BaseTag.php 项目: kotow/work
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->label = $rs->getString($startcol + 1);
         $this->tag_id = $rs->getString($startcol + 2);
         $this->module = $rs->getString($startcol + 3);
         $this->document_model = $rs->getString($startcol + 4);
         $this->exclusive = $rs->getBoolean($startcol + 5);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 6;
     } catch (Exception $e) {
         throw new PropelException("Error populating Tag object", $e);
     }
 }
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->title = $rs->getString($startcol + 1);
         $this->body = $rs->getString($startcol + 2);
         $this->online = $rs->getBoolean($startcol + 3);
         $this->category_id = $rs->getInt($startcol + 4);
         $this->created_at = $rs->getTimestamp($startcol + 5, null);
         $this->end_date = $rs->getTimestamp($startcol + 6, null);
         $this->book_id = $rs->getInt($startcol + 7);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 8;
     } catch (Exception $e) {
         throw new PropelException("Error populating Article object", $e);
     }
 }
示例#20
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->code = $rs->getString($startcol + 1);
         $this->name = $rs->getString($startcol + 2);
         $this->credit = $rs->getString($startcol + 3);
         $this->subject_group_id = $rs->getInt($startcol + 4);
         $this->department_id = $rs->getInt($startcol + 5);
         $this->description = $rs->getString($startcol + 6);
         $this->is_comprehensive_subject = $rs->getBoolean($startcol + 7);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 8;
     } catch (Exception $e) {
         throw new PropelException("Error populating Subject object", $e);
     }
 }
示例#21
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->uuid = $rs->getString($startcol + 1);
         $this->title = $rs->getString($startcol + 2);
         $this->slug = $rs->getString($startcol + 3);
         $this->model = $rs->getString($startcol + 4);
         $this->model_id = $rs->getInt($startcol + 5);
         $this->standalone = $rs->getBoolean($startcol + 6);
         $this->created_at = $rs->getTimestamp($startcol + 7, null);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 8;
     } catch (Exception $e) {
         throw new PropelException("Error populating sfSimpleForumOwner object", $e);
     }
 }
示例#22
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->uuid = $rs->getString($startcol + 1);
         $this->created_by = $rs->getInt($startcol + 2);
         $this->owner_id = $rs->getInt($startcol + 3);
         $this->department_id = $rs->getInt($startcol + 4);
         $this->campus_id = $rs->getInt($startcol + 5);
         $this->title = $rs->getString($startcol + 6);
         $this->picture = $rs->getString($startcol + 7);
         $this->slug = $rs->getString($startcol + 8);
         $this->description = $rs->getString($startcol + 9);
         $this->notes = $rs->getString($startcol + 10);
         $this->community_benefits = $rs->getString($startcol + 11);
         $this->student_reasons = $rs->getString($startcol + 12);
         $this->keywords = $rs->getString($startcol + 13);
         $this->begin = $rs->getDate($startcol + 14, null);
         $this->finish = $rs->getDate($startcol + 15, null);
         $this->budget = $rs->getInt($startcol + 16);
         $this->status = $rs->getInt($startcol + 17);
         $this->applications = $rs->getInt($startcol + 18);
         $this->season = $rs->getInt($startcol + 19);
         $this->length = $rs->getInt($startcol + 20);
         $this->preferred_term_length = $rs->getInt($startcol + 21);
         $this->year = $rs->getDate($startcol + 22, null);
         $this->scale = $rs->getInt($startcol + 23);
         $this->commitment = $rs->getInt($startcol + 24);
         $this->goals = $rs->getInt($startcol + 25);
         $this->goals_complete = $rs->getInt($startcol + 26);
         $this->hours_weekly = $rs->getInt($startcol + 27);
         $this->hours_total = $rs->getInt($startcol + 28);
         $this->published = $rs->getBoolean($startcol + 29);
         $this->flagged_aup = $rs->getBoolean($startcol + 30);
         $this->flagged_help = $rs->getBoolean($startcol + 31);
         $this->page1_complete = $rs->getBoolean($startcol + 32);
         $this->page2_complete = $rs->getBoolean($startcol + 33);
         $this->page3_complete = $rs->getBoolean($startcol + 34);
         $this->page4_complete = $rs->getBoolean($startcol + 35);
         $this->liability = $rs->getBoolean($startcol + 36);
         $this->liability_details = $rs->getString($startcol + 37);
         $this->profit = $rs->getBoolean($startcol + 38);
         $this->profit_details = $rs->getString($startcol + 39);
         $this->is_approved = $rs->getBoolean($startcol + 40);
         $this->points = $rs->getInt($startcol + 41);
         $this->approved_by = $rs->getString($startcol + 42);
         $this->hits = $rs->getInt($startcol + 43);
         $this->version = $rs->getInt($startcol + 44);
         $this->updated_at = $rs->getTimestamp($startcol + 45, null);
         $this->deleted_at = $rs->getTimestamp($startcol + 46, null);
         $this->created_at = $rs->getTimestamp($startcol + 47, null);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 48;
     } catch (Exception $e) {
         throw new PropelException("Error populating ProjectApplication object", $e);
     }
 }
示例#23
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->uuid = $rs->getString($startcol + 1);
         $this->project_id = $rs->getInt($startcol + 2);
         $this->user_id = $rs->getInt($startcol + 3);
         $this->title = $rs->getString($startcol + 4);
         $this->qualifications = $rs->getString($startcol + 5);
         $this->description = $rs->getString($startcol + 6);
         $this->deadline = $rs->getDate($startcol + 7, null);
         $this->weekly_hours = $rs->getInt($startcol + 8);
         $this->status = $rs->getInt($startcol + 9);
         $this->filled = $rs->getBoolean($startcol + 10);
         $this->milestone_count = $rs->getInt($startcol + 11);
         $this->campus_preference = $rs->getInt($startcol + 12);
         $this->updated_at = $rs->getTimestamp($startcol + 13, null);
         $this->deleted_at = $rs->getTimestamp($startcol + 14, null);
         $this->created_at = $rs->getTimestamp($startcol + 15, null);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 16;
     } catch (Exception $e) {
         throw new PropelException("Error populating ProjectPosition object", $e);
     }
 }
示例#24
0
 /**
  * Hydrates (populates) the object variables with values from the database resultset.
  *
  * An offset (1-based "start column") is specified so that objects can be hydrated
  * with a subset of the columns in the resultset rows.  This is needed, for example,
  * for results of JOIN queries where the resultset row includes columns from two or
  * more tables.
  *
  * @param      ResultSet $rs The ResultSet class with cursor advanced to desired record pos.
  * @param      int $startcol 1-based offset column which indicates which restultset column to start with.
  * @return     int next starting column
  * @throws     PropelException  - Any caught Exception will be rewrapped as a PropelException.
  */
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->mid = $rs->getInt($startcol + 1);
         $this->name = $rs->getString($startcol + 2);
         $this->url = $rs->getString($startcol + 3);
         $this->feed = $rs->getString($startcol + 4);
         $this->author = $rs->getString($startcol + 5);
         $this->email = $rs->getString($startcol + 6);
         $this->file = $rs->getString($startcol + 7);
         $this->verified = $rs->getBoolean($startcol + 8);
         $this->approved = $rs->getBoolean($startcol + 9);
         $this->resetModified();
         $this->setNew(false);
         // FIXME - using NUM_COLUMNS may be clearer.
         return $startcol + 10;
         // 10 = BlogPeer::NUM_COLUMNS - BlogPeer::NUM_LAZY_LOAD_COLUMNS).
     } catch (Exception $e) {
         throw new PropelException("Error populating Blog object", $e);
     }
 }
示例#25
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->name = $rs->getString($startcol + 1);
         $this->department_id = $rs->getInt($startcol + 2);
         $this->staff_type_id = $rs->getInt($startcol + 3);
         $this->emp_no = $rs->getString($startcol + 4);
         $this->is_counselor = $rs->getBoolean($startcol + 5);
         $this->is_thesis_advisor = $rs->getBoolean($startcol + 6);
         $this->is_comprehensive_reviewer = $rs->getBoolean($startcol + 7);
         $this->password = $rs->getString($startcol + 8);
         $this->code = $rs->getString($startcol + 9);
         $this->member_id = $rs->getInt($startcol + 10);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 11;
     } catch (Exception $e) {
         throw new PropelException("Error populating Employee object", $e);
     }
 }
 /**
  * Hydrates (populates) the object variables with values from the database resultset.
  *
  * An offset (1-based "start column") is specified so that objects can be hydrated
  * with a subset of the columns in the resultset rows.  This is needed, for example,
  * for results of JOIN queries where the resultset row includes columns from two or
  * more tables.
  *
  * @param      ResultSet $rs The ResultSet class with cursor advanced to desired record pos.
  * @param      int $startcol 1-based offset column which indicates which restultset column to start with.
  * @return     int next starting column
  * @throws     PropelException  - Any caught Exception will be rewrapped as a PropelException.
  */
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->room_id = $rs->getInt($startcol + 0);
         $this->name = $rs->getString($startcol + 1);
         $this->active = $rs->getBoolean($startcol + 2);
         $this->active_production = $rs->getInt($startcol + 3);
         $this->code = $rs->getString($startcol + 4);
         $this->course = $rs->getString($startcol + 5);
         $this->user_id = $rs->getInt($startcol + 6);
         $this->resetModified();
         $this->setNew(false);
         // FIXME - using NUM_COLUMNS may be clearer.
         return $startcol + 7;
         // 7 = RoomPeer::NUM_COLUMNS - RoomPeer::NUM_LAZY_LOAD_COLUMNS).
     } catch (Exception $e) {
         throw new PropelException("Error populating Room object", $e);
     }
 }
 /**
  * Hydrates (populates) the object variables with values from the database resultset.
  *
  * An offset (1-based "start column") is specified so that objects can be hydrated
  * with a subset of the columns in the resultset rows.  This is needed, for example,
  * for results of JOIN queries where the resultset row includes columns from two or
  * more tables.
  *
  * @param      ResultSet $rs The ResultSet class with cursor advanced to desired record pos.
  * @param      int $startcol 1-based offset column which indicates which restultset column to start with.
  * @return     int next starting column
  * @throws     PropelException  - Any caught Exception will be rewrapped as a PropelException.
  */
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->parent_id = $rs->getInt($startcol + 1);
         $this->inverse_id = $rs->getInt($startcol + 2);
         $this->name = $rs->getString($startcol + 3);
         $this->uri = $rs->getString($startcol + 4);
         $this->object_type = $rs->getString($startcol + 5);
         $this->display_order = $rs->getInt($startcol + 6);
         $this->picklist_order = $rs->getInt($startcol + 7);
         $this->label = $rs->getString($startcol + 8);
         $this->definition = $rs->getString($startcol + 9);
         $this->comment = $rs->getString($startcol + 10);
         $this->examples = $rs->getString($startcol + 11);
         $this->is_required = $rs->getBoolean($startcol + 12);
         $this->is_reciprocal = $rs->getBoolean($startcol + 13);
         $this->is_singleton = $rs->getBoolean($startcol + 14);
         $this->is_scheme = $rs->getBoolean($startcol + 15);
         $this->is_in_picklist = $rs->getBoolean($startcol + 16);
         $this->resetModified();
         $this->setNew(false);
         // FIXME - using NUM_COLUMNS may be clearer.
         return $startcol + 17;
         // 17 = SkosPropertyPeer::NUM_COLUMNS - SkosPropertyPeer::NUM_LAZY_LOAD_COLUMNS).
     } catch (Exception $e) {
         throw new PropelException("Error populating SkosProperty object", $e);
     }
 }
示例#28
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->user_group_id = $rs->getInt($startcol + 0);
         $this->job_id = $rs->getInt($startcol + 1);
         $this->add_priv = $rs->getBoolean($startcol + 2);
         $this->edit_priv = $rs->getBoolean($startcol + 3);
         $this->remove_priv = $rs->getBoolean($startcol + 4);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 5;
     } catch (Exception $e) {
         throw new PropelException("Error populating Acl object", $e);
     }
 }
示例#29
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->user_id = $rs->getInt($startcol + 0);
         $this->uuid = $rs->getString($startcol + 1);
         $this->title = $rs->getString($startcol + 2);
         $this->email = $rs->getString($startcol + 3);
         $this->phone = $rs->getString($startcol + 4);
         $this->address1 = $rs->getString($startcol + 5);
         $this->address2 = $rs->getString($startcol + 6);
         $this->city = $rs->getString($startcol + 7);
         $this->state = $rs->getString($startcol + 8);
         $this->postal = $rs->getString($startcol + 9);
         $this->published = $rs->getBoolean($startcol + 10);
         $this->privacy_level = $rs->getInt($startcol + 11);
         $this->deleted_at = $rs->getTimestamp($startcol + 12, null);
         $this->version = $rs->getInt($startcol + 13);
         $this->updated_at = $rs->getTimestamp($startcol + 14, null);
         $this->created_at = $rs->getTimestamp($startcol + 15, null);
         $this->id = $rs->getInt($startcol + 16);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 17;
     } catch (Exception $e) {
         throw new PropelException("Error populating ContactInfo object", $e);
     }
 }
示例#30
0
 public function hydrate(ResultSet $rs, $startcol = 1)
 {
     try {
         $this->id = $rs->getInt($startcol + 0);
         $this->name = $rs->getString($startcol + 1);
         $this->initial = $rs->getString($startcol + 2);
         $this->department_id = $rs->getInt($startcol + 3);
         $this->description = $rs->getString($startcol + 4);
         $this->created = $rs->getTimestamp($startcol + 5, null);
         $this->published = $rs->getBoolean($startcol + 6);
         $this->resetModified();
         $this->setNew(false);
         return $startcol + 7;
     } catch (Exception $e) {
         throw new PropelException("Error populating WebSection object", $e);
     }
 }