Esempio n. 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);
 }
Esempio n. 2
0
 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }