当前位置: 首页>>代码示例>>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;未经允许,请勿转载。