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


PHP WebVista_Model_ORM::getIterator方法代碼示例

本文整理匯總了PHP中WebVista_Model_ORM::getIterator方法的典型用法代碼示例。如果您正苦於以下問題:PHP WebVista_Model_ORM::getIterator方法的具體用法?PHP WebVista_Model_ORM::getIterator怎麽用?PHP WebVista_Model_ORM::getIterator使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在WebVista_Model_ORM的用法示例。


在下文中一共展示了WebVista_Model_ORM::getIterator方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: getIterator

 public function getIterator($dbSelect = null)
 {
     if ($dbSelect === null) {
         return $this->_getIteratorBy(1, 1);
     }
     return parent::getIterator($dbSelect);
 }
開發者ID:dragonlet,項目名稱:clearhealth,代碼行數:7,代碼來源:HealthStatusHandlerPatient.php

示例2: getIterator

 public function getIterator($dbSelect = null)
 {
     if ($dbSelect === null) {
         $db = Zend_Registry::get('dbAdapter');
         $dbSelect = $db->select()->from($this->_table)->where('handlerType = ?', $this->handlerType)->order('name');
     }
     return parent::getIterator($dbSelect);
 }
開發者ID:dragonlet,項目名稱:clearhealth,代碼行數:8,代碼來源:DataIntegration.php

示例3: getIterator

 public function getIterator($sqlSelect = null)
 {
     if ($sqlSelect === null) {
         $db = Zend_Registry::get('dbAdapter');
         $sqlSelect = $db->select()->from($this->_table)->order('dateTime DESC');
     }
     return parent::getIterator($sqlSelect);
 }
開發者ID:jakedorst,項目名稱:ch3-dev-preview,代碼行數:8,代碼來源:UpdateFile.php

示例4: getIteratorByTeam

 public function getIteratorByTeam($teamId = null)
 {
     if ($teamId === null) {
         $teamId = $this->teamId;
     }
     $db = Zend_Registry::get('dbAdapter');
     $dbSelect = $db->select()->from($this->_table)->where("(status = 'new' AND (teamId = ? OR teamId = ''))", $teamId)->orWhere("status = 'new' AND userId = ?", (int) Zend_Auth::getInstance()->getIdentity()->personId)->order('dateTime DESC');
     trigger_error($dbSelect->__toString(), E_USER_NOTICE);
     return parent::getIterator($dbSelect);
 }
開發者ID:jakedorst,項目名稱:ch3-dev-preview,代碼行數:10,代碼來源:GeneralAlert.php

示例5: getIteratorByPersonId

 public function getIteratorByPersonId($personId = null)
 {
     if ($personId === null) {
         $personId = $this->personId;
     }
     $personId = (int) $personId;
     $db = Zend_Registry::get('dbAdapter');
     $dbSelect = $db->select()->from($this->_table)->where('person_id = ' . $personId . ' OR patient_id = ' . $personId);
     return parent::getIterator($dbSelect);
 }
開發者ID:jakedorst,項目名稱:ch3-dev-preview,代碼行數:10,代碼來源:LabOrder.php

示例6: getIteratorByQueue

 public function getIteratorByQueue()
 {
     $db = Zend_Registry::get('dbAdapter');
     $sqlSelect = $db->select()->from($this->_table)->where('queue = 1')->order('dateTime DESC');
     return parent::getIterator($sqlSelect);
 }
開發者ID:lucianobenetti,項目名稱:clearhealth,代碼行數:6,代碼來源:UpdateFile.php

示例7: getIteratorByParentId

 public function getIteratorByParentId($id)
 {
     $db = Zend_Registry::get('dbAdapter');
     $dbSelect = $db->select()->from($this->_table)->where('`nsdrDefinitionUuid` = ?', $id);
     return parent::getIterator($dbSelect);
 }
開發者ID:dragonlet,項目名稱:clearhealth,代碼行數:6,代碼來源:NSDRDefinitionMethod.php


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