示例#1
0
 public function loadAllIdentifiers($offset = null, $count = null, \Zend_Db_Select $where = null, $sort = null, $order = null)
 {
     $where = $this->addCondition("deleted = 0", $where);
     $employee = \Zend_Auth::getInstance()->getIdentity();
     $extra = "employee_id = " . $employee->employee_id;
     $where = $this->checkPrivileges($where, "parent_employee_id", $extra, "OR");
     return parent::loadAllIdentifiers($offset, $count, $where, $sort, $order);
 }
示例#2
0
文件: Recruit.php 项目: sp1ke77/MLM-1
 public function loadAllIdentifiers($offset = null, $count = null, \Zend_Db_Select $where = null, $sort = null, $order = null)
 {
     $where = $this->addCondition("deleted = 0", $where);
     $where = $this->checkPrivileges($where, "parent_employee_id");
     return parent::loadAllIdentifiers($offset, $count, $where, $sort, $order);
 }
示例#3
0
 public function loadAllIdentifiers($offset = null, $count = null, \Zend_Db_Select $where = null, $sort = null, $order = null)
 {
     $where = $this->addCondition("deleted = 0", $where);
     return parent::loadAllIdentifiers($offset, $count, $where, $sort, $order);
 }
示例#4
0
 public function loadAllIdentifiers($offset = null, $count = null, \Zend_Db_Select $where = null, $sort = null, $order = null)
 {
     $where = $this->checkPrivileges($where);
     return parent::loadAllIdentifiers($offset, $count, $where, $sort, $order);
 }