當前位置: 首頁>>代碼示例>>PHP>>正文


PHP ResultSet::getInt方法代碼示例

本文整理匯總了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);
     }
 }
開發者ID:taryono,項目名稱:school,代碼行數:12,代碼來源:BaseVTestApplSched2.php

示例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);
     }
 }
開發者ID:net7,項目名稱:Talia-CMS,代碼行數:12,代碼來源:BasesfGuardUserPermission.php

示例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);
     }
 }
開發者ID:soon0009,項目名稱:EMS,代碼行數:12,代碼來源:BaseEtimeTag.php

示例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);
     }
 }
開發者ID:taryono,項目名稱:school,代碼行數:13,代碼來源:BaseVCourseDetail.php

示例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);
     }
 }
開發者ID:taryono,項目名稱:school,代碼行數:13,代碼來源:BaseGradeConversionGroup.php

示例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);
     }
 }
開發者ID:taryono,項目名稱:school,代碼行數:13,代碼來源:BaseCounselingTutor.php

示例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);
     }
 }
開發者ID:taryono,項目名稱:school,代碼行數:13,代碼來源:BaseVRaportPrint.php

示例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);
     }
 }
開發者ID:TheProjecter,項目名稱:myisern-lime,代碼行數:13,代碼來源:BaseOrganizationResearcherKeyword.php

示例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);
     }
 }
開發者ID:taryono,項目名稱:school,代碼行數:13,代碼來源:BaseRegion.php

示例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);
     }
 }
開發者ID:taryono,項目名稱:school,代碼行數:13,代碼來源:BaseVTotalCatalog.php

示例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);
     }
 }
開發者ID:Ayaan123,項目名稱:alumnisangam,代碼行數:13,代碼來源:BasePepuser.php

示例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);
     }
 }
開發者ID:taryono,項目名稱:school,代碼行數:13,代碼來源:BaseClassAbsence.php

示例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);
     }
 }
開發者ID:arrisray,項目名稱:askeet,代碼行數:13,代碼來源:BaseInterest.php

示例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);
     }
 }
開發者ID:TheProjecter,項目名稱:myisern-lime,代碼行數:13,代碼來源:BaseCollaborationOutcomeType.php

示例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);
     }
 }
開發者ID:emacsattic,項目名稱:symfony,代碼行數:13,代碼來源:BaseSearchIndex.php


注:本文中的ResultSet::getInt方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。