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); }
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); }
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); }
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); }