/** * @covers ResultSet::setDate */ public function testSetDate() { $dateKey = 'aDate'; $date = '2015-04-23 15:16:17'; $this->result->setDate($dateKey, $date); $actual = $this->result->getDate($dateKey); $this->assertNotNull($actual); }
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); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->employee_id = $rs->getInt($startcol + 1); $this->academic_calendar_id = $rs->getInt($startcol + 2); $this->status = $rs->getInt($startcol + 3); $this->start = $rs->getTimestamp($startcol + 4, null); $this->date_in = $rs->getDate($startcol + 5, null); $this->datang = $rs->getTime($startcol + 6, null); $this->resetModified(); $this->setNew(false); return $startcol + 7; } catch (Exception $e) { throw new PropelException("Error populating EmployeeAbsenceDev object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->employee_id = $rs->getInt($startcol + 1); $this->department_id = $rs->getInt($startcol + 2); $this->academic_calendar_id = $rs->getInt($startcol + 3); $this->employee_level_id = $rs->getInt($startcol + 4); $this->employee_division_id = $rs->getInt($startcol + 5); $this->leave_type_id = $rs->getInt($startcol + 6); $this->code = $rs->getString($startcol + 7); $this->leave_length = $rs->getInt($startcol + 8); $this->start = $rs->getDate($startcol + 9, null); $this->end = $rs->getDate($startcol + 10, null); $this->detail = $rs->getString($startcol + 11); $this->address = $rs->getString($startcol + 12); $this->status = $rs->getInt($startcol + 13); $this->resetModified(); $this->setNew(false); return $startcol + 14; } catch (Exception $e) { throw new PropelException("Error populating EmployeeLeave 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->production_history_id = $rs->getInt($startcol + 0); $this->user_id = $rs->getInt($startcol + 1); $this->production_id = $rs->getInt($startcol + 2); $this->action = $rs->getString($startcol + 3); $this->date = $rs->getDate($startcol + 4, null); $this->value = $rs->getString($startcol + 5); $this->user_name = $rs->getString($startcol + 6); $this->type = $rs->getString($startcol + 7); $this->resetModified(); $this->setNew(false); // FIXME - using NUM_COLUMNS may be clearer. return $startcol + 8; // 8 = ProductionHistoryPeer::NUM_COLUMNS - ProductionHistoryPeer::NUM_LAZY_LOAD_COLUMNS). } catch (Exception $e) { throw new PropelException("Error populating ProductionHistory object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->student_id = $rs->getInt($startcol + 1); $this->academic_calendar_id = $rs->getInt($startcol + 2); $this->status = $rs->getInt($startcol + 3); $this->start = $rs->getDate($startcol + 4, null); $this->end = $rs->getDate($startcol + 5, null); $this->holiday = $rs->getInt($startcol + 6); $this->total_days = $rs->getInt($startcol + 7); $this->class_group_id = $rs->getInt($startcol + 8); $this->detail = $rs->getString($startcol + 9); $this->resetModified(); $this->setNew(false); return $startcol + 10; } catch (Exception $e) { throw new PropelException("Error populating VLeave object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->student_id = $rs->getInt($startcol + 1); $this->academic_calendar_id = $rs->getInt($startcol + 2); $this->class_group_id = $rs->getInt($startcol + 3); $this->code = $rs->getString($startcol + 4); $this->time_in = $rs->getDate($startcol + 5, null); $this->time_out = $rs->getDate($startcol + 6, null); $this->resetModified(); $this->setNew(false); return $startcol + 7; } catch (Exception $e) { throw new PropelException("Error populating Absence object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->short_name = $rs->getString($startcol + 1); $this->pob = $rs->getString($startcol + 2); $this->dob = $rs->getDate($startcol + 3, null); $this->sex = $rs->getString($startcol + 4); $this->address = $rs->getString($startcol + 5); $this->region_id = $rs->getInt($startcol + 6); $this->post_code = $rs->getString($startcol + 7); $this->phone = $rs->getString($startcol + 8); $this->cellphone = $rs->getString($startcol + 9); $this->religion_id = $rs->getInt($startcol + 10); $this->school_of_origin = $rs->getString($startcol + 11); $this->graduation_year = $rs->getString($startcol + 12); $this->graduation_grade = $rs->getString($startcol + 13); $this->company = $rs->getString($startcol + 14); $this->job_title = $rs->getString($startcol + 15); $this->college_of_origin = $rs->getString($startcol + 16); $this->department_of_origin = $rs->getString($startcol + 17); $this->reg_year = $rs->getString($startcol + 18); $this->parent_name = $rs->getString($startcol + 19); $this->nationality = $rs->getString($startcol + 20); $this->child_number = $rs->getInt($startcol + 21); $this->siblings = $rs->getInt($startcol + 22); $this->blood_siblings = $rs->getInt($startcol + 23); $this->step_siblings = $rs->getInt($startcol + 24); $this->adopt_siblings = $rs->getInt($startcol + 25); $this->native_language = $rs->getString($startcol + 26); $this->residence_status = $rs->getInt($startcol + 27); $this->home_distance = $rs->getInt($startcol + 28); $this->orphanage_status = $rs->getInt($startcol + 29); $this->transport = $rs->getInt($startcol + 30); $this->father = $rs->getString($startcol + 31); $this->mother = $rs->getString($startcol + 32); $this->father_job = $rs->getInt($startcol + 33); $this->mother_job = $rs->getInt($startcol + 34); $this->detail_father_job = $rs->getInt($startcol + 35); $this->detail_mother_job = $rs->getInt($startcol + 36); $this->reg_note = $rs->getString($startcol + 37); $this->academic_calendar_id = $rs->getInt($startcol + 38); $this->age_year = $rs->getInt($startcol + 39); $this->age_month = $rs->getInt($startcol + 40); $this->residence_detail = $rs->getString($startcol + 41); $this->residence_else = $rs->getString($startcol + 42); $this->illness = $rs->getString($startcol + 43); $this->illness_note = $rs->getString($startcol + 44); $this->need = $rs->getString($startcol + 45); $this->need_note = $rs->getString($startcol + 46); $this->blood_type = $rs->getString($startcol + 47); $this->tall = $rs->getString($startcol + 48); $this->weight = $rs->getString($startcol + 49); $this->school_of_origin_address = $rs->getString($startcol + 50); $this->country_id = $rs->getInt($startcol + 51); $this->resetModified(); $this->setNew(false); return $startcol + 52; } catch (Exception $e) { throw new PropelException("Error populating TestApplicantDetail object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->date = $rs->getDate($startcol + 1, null); $this->total_absence = $rs->getInt($startcol + 2); $this->academic_calendar_id = $rs->getInt($startcol + 3); $this->resetModified(); $this->setNew(false); return $startcol + 4; } catch (Exception $e) { throw new PropelException("Error populating VEmployeeAbsenceDev object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->student_id = $rs->getInt($startcol + 1); $this->academic_calendar_id = $rs->getInt($startcol + 2); $this->class_group_id = $rs->getInt($startcol + 3); $this->course_schedule_id = $rs->getInt($startcol + 4); $this->subject_curr_id = $rs->getInt($startcol + 5); $this->employee_id = $rs->getInt($startcol + 6); $this->status = $rs->getInt($startcol + 7); $this->detail = $rs->getString($startcol + 8); $this->code = $rs->getString($startcol + 9); $this->time = $rs->getDate($startcol + 10, null); $this->resetModified(); $this->setNew(false); return $startcol + 11; } catch (Exception $e) { throw new PropelException("Error populating AbsenceCourse object", $e); } }
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); } }
/** * 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->trn_category = $rs->getString($startcol + 0); $this->trn_id = $rs->getString($startcol + 1); $this->trn_lang = $rs->getString($startcol + 2); $this->trn_value = $rs->getString($startcol + 3); $this->trn_update_date = $rs->getDate($startcol + 4, null); $this->resetModified(); $this->setNew(false); // FIXME - using NUM_COLUMNS may be clearer. return $startcol + 5; // 5 = TranslationPeer::NUM_COLUMNS - TranslationPeer::NUM_LAZY_LOAD_COLUMNS). } catch (Exception $e) { throw new PropelException("Error populating Translation object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->student_id = $rs->getInt($startcol + 0); $this->time = $rs->getDate($startcol + 1, null); $this->code = $rs->getString($startcol + 2); $this->resetModified(); $this->setNew(false); return $startcol + 3; } catch (Exception $e) { throw new PropelException("Error populating VAbsenceStudent object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->user_id = $rs->getInt($startcol + 1); $this->image = $rs->getString($startcol + 2); $this->imageflag = $rs->getString($startcol + 3); $this->salutation = $rs->getString($startcol + 4); $this->firstname = $rs->getString($startcol + 5); $this->firstnameflag = $rs->getString($startcol + 6); $this->middlename = $rs->getString($startcol + 7); $this->middlenameflag = $rs->getString($startcol + 8); $this->lastname = $rs->getString($startcol + 9); $this->lastnameflag = $rs->getString($startcol + 10); $this->maidenname = $rs->getString($startcol + 11); $this->maidennameflag = $rs->getString($startcol + 12); $this->itbhuname = $rs->getString($startcol + 13); $this->itbhunameflag = $rs->getString($startcol + 14); $this->gender = $rs->getString($startcol + 15); $this->genderflag = $rs->getString($startcol + 16); $this->dob = $rs->getDate($startcol + 17, null); $this->dobflag = $rs->getString($startcol + 18); $this->maritalstatus = $rs->getString($startcol + 19); $this->maritalstatusflag = $rs->getString($startcol + 20); $this->email = $rs->getString($startcol + 21); $this->emailflag = $rs->getString($startcol + 22); $this->website = $rs->getString($startcol + 23); $this->websiteflag = $rs->getString($startcol + 24); $this->linkedin = $rs->getString($startcol + 25); $this->linkedinflag = $rs->getString($startcol + 26); $this->hobbies = $rs->getString($startcol + 27); $this->hobbiesflag = $rs->getString($startcol + 28); $this->interest = $rs->getString($startcol + 29); $this->resetModified(); $this->setNew(false); return $startcol + 30; } catch (Exception $e) { throw new PropelException("Error populating Personal object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->academic_calendar_id = $rs->getInt($startcol + 1); $this->class_group_id = $rs->getInt($startcol + 2); $this->datetime = $rs->getDate($startcol + 3, null); $this->status = $rs->getInt($startcol + 4); $this->resetModified(); $this->setNew(false); return $startcol + 5; } catch (Exception $e) { throw new PropelException("Error populating AttendanceClass object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->code = $rs->getString($startcol + 1); $this->student_id = $rs->getInt($startcol + 2); $this->employee_id = $rs->getInt($startcol + 3); $this->student_2 = $rs->getInt($startcol + 4); $this->subject = $rs->getString($startcol + 5); $this->detail = $rs->getString($startcol + 6); $this->created_at = $rs->getDate($startcol + 7, null); $this->type = $rs->getInt($startcol + 8); $this->resetModified(); $this->setNew(false); return $startcol + 9; } catch (Exception $e) { throw new PropelException("Error populating InboxStu object", $e); } }
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); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->academic_calendar_id = $rs->getInt($startcol + 1); $this->start = $rs->getDate($startcol + 2, null); $this->end = $rs->getDate($startcol + 3, null); $this->code = $rs->getString($startcol + 4); $this->name = $rs->getString($startcol + 5); $this->graduation_code = $rs->getString($startcol + 6); $this->status = $rs->getInt($startcol + 7); $this->created = $rs->getTimestamp($startcol + 8, null); $this->resetModified(); $this->setNew(false); return $startcol + 9; } catch (Exception $e) { throw new PropelException("Error populating NgRegPeriod object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->pob = $rs->getString($startcol + 1); $this->dob = $rs->getDate($startcol + 2, null); $this->sex = $rs->getString($startcol + 3); $this->address = $rs->getString($startcol + 4); $this->region_id = $rs->getInt($startcol + 5); $this->post_code = $rs->getString($startcol + 6); $this->phone = $rs->getString($startcol + 7); $this->cellphone = $rs->getString($startcol + 8); $this->religion_id = $rs->getInt($startcol + 9); $this->school_of_origin = $rs->getInt($startcol + 10); $this->graduation_year = $rs->getString($startcol + 11); $this->graduation_grade = $rs->getString($startcol + 12); $this->company = $rs->getString($startcol + 13); $this->job_title = $rs->getString($startcol + 14); $this->college_of_origin = $rs->getString($startcol + 15); $this->department_of_origin = $rs->getString($startcol + 16); $this->reg_year = $rs->getString($startcol + 17); $this->parent_name = $rs->getString($startcol + 18); $this->short_name = $rs->getString($startcol + 19); $this->adopt_siblings = $rs->getInt($startcol + 20); $this->blood_siblings = $rs->getInt($startcol + 21); $this->child_number = $rs->getInt($startcol + 22); $this->home_distance = $rs->getInt($startcol + 23); $this->nationality = $rs->getInt($startcol + 24); $this->residence_status = $rs->getInt($startcol + 25); $this->step_siblings = $rs->getInt($startcol + 26); $this->transport = $rs->getInt($startcol + 27); $this->native_language = $rs->getString($startcol + 28); $this->intelligency = $rs->getInt($startcol + 29); $this->test_date = $rs->getDate($startcol + 30, null); $this->orphanage_status = $rs->getInt($startcol + 31); $this->resetModified(); $this->setNew(false); return $startcol + 32; } catch (Exception $e) { throw new PropelException("Error populating MemberDetail 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->usr_uid = $rs->getString($startcol + 0); $this->usr_username = $rs->getString($startcol + 1); $this->usr_password = $rs->getString($startcol + 2); $this->usr_firstname = $rs->getString($startcol + 3); $this->usr_lastname = $rs->getString($startcol + 4); $this->usr_email = $rs->getString($startcol + 5); $this->usr_due_date = $rs->getDate($startcol + 6, null); $this->usr_create_date = $rs->getTimestamp($startcol + 7, null); $this->usr_update_date = $rs->getTimestamp($startcol + 8, null); $this->usr_status = $rs->getInt($startcol + 9); $this->usr_auth_type = $rs->getString($startcol + 10); $this->uid_auth_source = $rs->getString($startcol + 11); $this->usr_auth_user_dn = $rs->getString($startcol + 12); $this->usr_auth_supervisor_dn = $rs->getString($startcol + 13); $this->resetModified(); $this->setNew(false); // FIXME - using NUM_COLUMNS may be clearer. return $startcol + 14; // 14 = RbacUsersPeer::NUM_COLUMNS - RbacUsersPeer::NUM_LAZY_LOAD_COLUMNS). } catch (Exception $e) { throw new PropelException("Error populating RbacUsers 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->usr_uid = $rs->getString($startcol + 0); $this->usr_username = $rs->getString($startcol + 1); $this->usr_password = $rs->getString($startcol + 2); $this->usr_firstname = $rs->getString($startcol + 3); $this->usr_lastname = $rs->getString($startcol + 4); $this->usr_email = $rs->getString($startcol + 5); $this->usr_due_date = $rs->getDate($startcol + 6, null); $this->usr_create_date = $rs->getTimestamp($startcol + 7, null); $this->usr_update_date = $rs->getTimestamp($startcol + 8, null); $this->usr_status = $rs->getString($startcol + 9); $this->usr_country = $rs->getString($startcol + 10); $this->usr_city = $rs->getString($startcol + 11); $this->usr_location = $rs->getString($startcol + 12); $this->usr_address = $rs->getString($startcol + 13); $this->usr_phone = $rs->getString($startcol + 14); $this->usr_fax = $rs->getString($startcol + 15); $this->usr_cellular = $rs->getString($startcol + 16); $this->usr_zip_code = $rs->getString($startcol + 17); $this->dep_uid = $rs->getString($startcol + 18); $this->usr_position = $rs->getString($startcol + 19); $this->usr_resume = $rs->getString($startcol + 20); $this->usr_birthday = $rs->getDate($startcol + 21, null); $this->usr_role = $rs->getString($startcol + 22); $this->usr_reports_to = $rs->getString($startcol + 23); $this->usr_replaced_by = $rs->getString($startcol + 24); $this->usr_ux = $rs->getString($startcol + 25); $this->usr_total_inbox = $rs->getInt($startcol + 26); $this->usr_total_draft = $rs->getInt($startcol + 27); $this->usr_total_cancelled = $rs->getInt($startcol + 28); $this->usr_total_participated = $rs->getInt($startcol + 29); $this->usr_total_paused = $rs->getInt($startcol + 30); $this->usr_total_completed = $rs->getInt($startcol + 31); $this->usr_total_unassigned = $rs->getInt($startcol + 32); $this->usr_cost_by_hour = $rs->getFloat($startcol + 33); $this->usr_unit_cost = $rs->getString($startcol + 34); $this->usr_pmdrive_folder_uid = $rs->getString($startcol + 35); $this->usr_bookmark_start_cases = $rs->getString($startcol + 36); $this->usr_time_zone = $rs->getString($startcol + 37); $this->usr_default_lang = $rs->getString($startcol + 38); $this->resetModified(); $this->setNew(false); // FIXME - using NUM_COLUMNS may be clearer. return $startcol + 39; // 39 = UsersPeer::NUM_COLUMNS - UsersPeer::NUM_LAZY_LOAD_COLUMNS). } catch (Exception $e) { throw new PropelException("Error populating Users object", $e); } }
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->log_case_uid = $rs->getString($startcol + 0); $this->pro_uid = $rs->getString($startcol + 1); $this->tas_uid = $rs->getString($startcol + 2); $this->usr_name = $rs->getString($startcol + 3); $this->exec_date = $rs->getDate($startcol + 4, null); $this->exec_hour = $rs->getString($startcol + 5); $this->result = $rs->getString($startcol + 6); $this->sch_uid = $rs->getString($startcol + 7); $this->ws_create_case_status = $rs->getString($startcol + 8); $this->ws_route_case_status = $rs->getString($startcol + 9); $this->resetModified(); $this->setNew(false); // FIXME - using NUM_COLUMNS may be clearer. return $startcol + 10; // 10 = LogCasesSchedulerPeer::NUM_COLUMNS - LogCasesSchedulerPeer::NUM_LAZY_LOAD_COLUMNS). } catch (Exception $e) { throw new PropelException("Error populating LogCasesScheduler object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->code = $rs->getString($startcol + 1); $this->employee_id = $rs->getInt($startcol + 2); $this->department_id = $rs->getInt($startcol + 3); $this->academic_calendar_id = $rs->getInt($startcol + 4); $this->staff_type_id = $rs->getInt($startcol + 5); $this->employee_level_id = $rs->getInt($startcol + 6); $this->illness_id = $rs->getInt($startcol + 7); $this->detail_medical = $rs->getString($startcol + 8); $this->medical_date = $rs->getDate($startcol + 9, null); $this->hospital = $rs->getString($startcol + 10); $this->patient_name = $rs->getString($startcol + 11); $this->relation = $rs->getInt($startcol + 12); $this->total = $rs->getFloat($startcol + 13); $this->status = $rs->getString($startcol + 14); $this->medicine = $rs->getFloat($startcol + 15); $this->hospitalization = $rs->getFloat($startcol + 16); $this->resetModified(); $this->setNew(false); return $startcol + 17; } catch (Exception $e) { throw new PropelException("Error populating EmployeeMedical object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->member_id = $rs->getInt($startcol + 1); $this->time_in = $rs->getDate($startcol + 2, null); $this->time_out = $rs->getDate($startcol + 3, null); $this->member_name = $rs->getString($startcol + 4); $this->department_id = $rs->getInt($startcol + 5); $this->resetModified(); $this->setNew(false); return $startcol + 6; } catch (Exception $e) { throw new PropelException("Error populating VVisitorMember object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->ng_test_applicant_id = $rs->getInt($startcol + 1); $this->religion_id = $rs->getInt($startcol + 2); $this->degree_id = $rs->getInt($startcol + 3); $this->salary_id = $rs->getInt($startcol + 4); $this->job_type_id = $rs->getInt($startcol + 5); $this->relation = $rs->getInt($startcol + 6); $this->name = $rs->getString($startcol + 7); $this->pob = $rs->getString($startcol + 8); $this->dob = $rs->getDate($startcol + 9, null); $this->job_detail = $rs->getString($startcol + 10); $this->cellphone = $rs->getString($startcol + 11); $this->homephone = $rs->getString($startcol + 12); $this->email = $rs->getString($startcol + 13); $this->country_id = $rs->getInt($startcol + 14); $this->region_id = $rs->getInt($startcol + 15); $this->city_id = $rs->getInt($startcol + 16); $this->district_id = $rs->getInt($startcol + 17); $this->subdistrict_id = $rs->getInt($startcol + 18); $this->postcode = $rs->getString($startcol + 19); $this->office_name = $rs->getString($startcol + 20); $this->office_address = $rs->getString($startcol + 21); $this->office_phone = $rs->getString($startcol + 22); $this->address = $rs->getString($startcol + 23); $this->home_no = $rs->getString($startcol + 24); $this->home_rt = $rs->getString($startcol + 25); $this->home_rw = $rs->getString($startcol + 26); $this->created = $rs->getTimestamp($startcol + 27, null); $this->resetModified(); $this->setNew(false); return $startcol + 28; } catch (Exception $e) { throw new PropelException("Error populating NgTestApplicantParents object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->employee_id = $rs->getInt($startcol + 1); $this->name = $rs->getString($startcol + 2); $this->pob = $rs->getString($startcol + 3); $this->dob = $rs->getDate($startcol + 4, null); $this->religion_id = $rs->getInt($startcol + 5); $this->country_id = $rs->getInt($startcol + 6); $this->relation = $rs->getInt($startcol + 7); $this->resetModified(); $this->setNew(false); return $startcol + 8; } catch (Exception $e) { throw new PropelException("Error populating EmployeeParents 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->usr_uid = $rs->getString($startcol + 0); $this->usr_username = $rs->getString($startcol + 1); $this->usr_password = $rs->getString($startcol + 2); $this->usr_firstname = $rs->getString($startcol + 3); $this->usr_lastname = $rs->getString($startcol + 4); $this->usr_email = $rs->getString($startcol + 5); $this->usr_due_date = $rs->getDate($startcol + 6, null); $this->usr_create_date = $rs->getTimestamp($startcol + 7, null); $this->usr_update_date = $rs->getTimestamp($startcol + 8, null); $this->usr_status = $rs->getString($startcol + 9); $this->usr_country = $rs->getString($startcol + 10); $this->usr_city = $rs->getString($startcol + 11); $this->usr_location = $rs->getString($startcol + 12); $this->usr_address = $rs->getString($startcol + 13); $this->usr_phone = $rs->getString($startcol + 14); $this->usr_fax = $rs->getString($startcol + 15); $this->usr_cellular = $rs->getString($startcol + 16); $this->usr_zip_code = $rs->getString($startcol + 17); $this->dep_uid = $rs->getString($startcol + 18); $this->usr_position = $rs->getString($startcol + 19); $this->usr_resume = $rs->getString($startcol + 20); $this->usr_birthday = $rs->getDate($startcol + 21, null); $this->usr_role = $rs->getString($startcol + 22); $this->usr_reports_to = $rs->getString($startcol + 23); $this->usr_replaced_by = $rs->getString($startcol + 24); $this->usr_ux = $rs->getString($startcol + 25); $this->resetModified(); $this->setNew(false); // FIXME - using NUM_COLUMNS may be clearer. return $startcol + 26; // 26 = UsersPeer::NUM_COLUMNS - UsersPeer::NUM_LAZY_LOAD_COLUMNS). } catch (Exception $e) { throw new PropelException("Error populating Users object", $e); } }
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->code2 = $rs->getString($startcol + 3); $this->login = $rs->getString($startcol + 4); $this->code3 = $rs->getString($startcol + 5); $this->curriculum_id = $rs->getInt($startcol + 6); $this->academic_calendar_id = $rs->getInt($startcol + 7); $this->class_group_id = $rs->getInt($startcol + 8); $this->test_applicant_id = $rs->getInt($startcol + 9); $this->student_detail_id = $rs->getInt($startcol + 10); $this->status = $rs->getString($startcol + 11); $this->graduation_date = $rs->getDate($startcol + 12, null); $this->password = $rs->getString($startcol + 13); $this->class_name = $rs->getString($startcol + 14); $this->year = $rs->getString($startcol + 15); $this->member_id = $rs->getInt($startcol + 16); $this->department_name = $rs->getString($startcol + 17); $this->fingerprint = $rs->getString($startcol + 18); $this->resetModified(); $this->setNew(false); return $startcol + 19; } catch (Exception $e) { throw new PropelException("Error populating VStudentLogin object", $e); } }
public function hydrate(ResultSet $rs, $startcol = 1) { try { $this->id = $rs->getInt($startcol + 0); $this->code = $rs->getString($startcol + 1); $this->budget_category_id = $rs->getInt($startcol + 2); $this->budget_status_id = $rs->getInt($startcol + 3); $this->budget_chart_id = $rs->getInt($startcol + 4); $this->chart_account = $rs->getString($startcol + 5); $this->total = $rs->getFloat($startcol + 6); $this->created_at = $rs->getDate($startcol + 7, null); $this->updated_at = $rs->getDate($startcol + 8, null); $this->note = $rs->getString($startcol + 9); $this->year = $rs->getFloat($startcol + 10); $this->month = $rs->getString($startcol + 11); $this->total_budget = $rs->getFloat($startcol + 12); $this->resetModified(); $this->setNew(false); return $startcol + 13; } catch (Exception $e) { throw new PropelException("Error populating Budget object", $e); } }