本文整理汇总了PHP中ResultSet::getInt方法的典型用法代码示例。如果您正苦于以下问题:PHP ResultSet::getInt方法的具体用法?PHP ResultSet::getInt怎么用?PHP ResultSet::getInt使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ResultSet
的用法示例。
在下文中一共展示了ResultSet::getInt方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->test_schedule_id = $rs->getInt($startcol + 0);
$this->location_id = $rs->getInt($startcol + 1);
$this->resetModified();
$this->setNew(false);
return $startcol + 2;
} catch (Exception $e) {
throw new PropelException("Error populating VTestApplSched2 object", $e);
}
}
示例2: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->user_id = $rs->getInt($startcol + 0);
$this->permission_id = $rs->getInt($startcol + 1);
$this->resetModified();
$this->setNew(false);
return $startcol + 2;
} catch (Exception $e) {
throw new PropelException("Error populating sfGuardUserPermission object", $e);
}
}
示例3: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->etime_id = $rs->getInt($startcol + 0);
$this->tag_id = $rs->getInt($startcol + 1);
$this->resetModified();
$this->setNew(false);
return $startcol + 2;
} catch (Exception $e) {
throw new PropelException("Error populating EtimeTag object", $e);
}
}
示例4: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->id = $rs->getInt($startcol + 0);
$this->day = $rs->getInt($startcol + 1);
$this->course_schedule_id = $rs->getInt($startcol + 2);
$this->resetModified();
$this->setNew(false);
return $startcol + 3;
} catch (Exception $e) {
throw new PropelException("Error populating VCourseDetail object", $e);
}
}
示例5: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->id = $rs->getInt($startcol + 0);
$this->type_conversion = $rs->getInt($startcol + 1);
$this->department_id = $rs->getInt($startcol + 2);
$this->resetModified();
$this->setNew(false);
return $startcol + 3;
} catch (Exception $e) {
throw new PropelException("Error populating GradeConversionGroup object", $e);
}
}
示例6: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->id = $rs->getInt($startcol + 0);
$this->counseling_id = $rs->getInt($startcol + 1);
$this->employee_id = $rs->getInt($startcol + 2);
$this->resetModified();
$this->setNew(false);
return $startcol + 3;
} catch (Exception $e) {
throw new PropelException("Error populating CounselingTutor object", $e);
}
}
示例7: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->student_id = $rs->getInt($startcol + 0);
$this->subject_id = $rs->getInt($startcol + 1);
$this->academic_calendar_id = $rs->getInt($startcol + 2);
$this->resetModified();
$this->setNew(false);
return $startcol + 3;
} catch (Exception $e) {
throw new PropelException("Error populating VRaportPrint object", $e);
}
}
示例8: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->id = $rs->getInt($startcol + 0);
$this->organization_id = $rs->getInt($startcol + 1);
$this->keyword = $rs->getString($startcol + 2);
$this->resetModified();
$this->setNew(false);
return $startcol + 3;
} catch (Exception $e) {
throw new PropelException("Error populating OrganizationResearcherKeyword object", $e);
}
}
示例9: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->id = $rs->getInt($startcol + 0);
$this->name = $rs->getString($startcol + 1);
$this->parent = $rs->getInt($startcol + 2);
$this->resetModified();
$this->setNew(false);
return $startcol + 3;
} catch (Exception $e) {
throw new PropelException("Error populating Region object", $e);
}
}
示例10: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->col_location_id = $rs->getInt($startcol + 0);
$this->cat_category_id = $rs->getInt($startcol + 1);
$this->total_catalog = $rs->getString($startcol + 2);
$this->resetModified();
$this->setNew(false);
return $startcol + 3;
} catch (Exception $e) {
throw new PropelException("Error populating VTotalCatalog object", $e);
}
}
示例11: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->id = $rs->getInt($startcol + 0);
$this->user_id = $rs->getInt($startcol + 1);
$this->peppage_id = $rs->getInt($startcol + 2);
$this->resetModified();
$this->setNew(false);
return $startcol + 3;
} catch (Exception $e) {
throw new PropelException("Error populating Pepuser object", $e);
}
}
示例12: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->id = $rs->getInt($startcol + 0);
$this->class_agenda_id = $rs->getInt($startcol + 1);
$this->student_absence_id = $rs->getInt($startcol + 2);
$this->resetModified();
$this->setNew(false);
return $startcol + 3;
} catch (Exception $e) {
throw new PropelException("Error populating ClassAbsence object", $e);
}
}
示例13: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->question_id = $rs->getInt($startcol + 0);
$this->user_id = $rs->getInt($startcol + 1);
$this->created_at = $rs->getTimestamp($startcol + 2, null);
$this->resetModified();
$this->setNew(false);
return $startcol + 3;
} catch (Exception $e) {
throw new PropelException("Error populating Interest object", $e);
}
}
示例14: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->id = $rs->getInt($startcol + 0);
$this->collaboration_id = $rs->getInt($startcol + 1);
$this->outcome_type = $rs->getString($startcol + 2);
$this->resetModified();
$this->setNew(false);
return $startcol + 3;
} catch (Exception $e) {
throw new PropelException("Error populating CollaborationOutcomeType object", $e);
}
}
示例15: hydrate
public function hydrate(ResultSet $rs, $startcol = 1)
{
try {
$this->question_id = $rs->getInt($startcol + 0);
$this->word = $rs->getString($startcol + 1);
$this->weight = $rs->getInt($startcol + 2);
$this->resetModified();
$this->setNew(false);
return $startcol + 3;
} catch (Exception $e) {
throw new PropelException("Error populating SearchIndex object", $e);
}
}