public function loadAllActive($offset = null, $count = null, $where = null) { $where = $this->addCondition("active = 1", $where); return parent::loadAll($offset, $count, $where); }
public function loadAllActive($offset = null, $count = null, $where = null) { $where = $this->addCondition("active = 1", $where); $employee = \Zend_Auth::getInstance()->getIdentity(); $extra = "employee_id = " . $employee->employee_id; $where = $this->checkPrivileges($where, "parent_employee_id", $extra, "OR"); return parent::loadAll($offset, $count, $where); }
public function loadAllActive($offset = null, $count = null, $where = null) { return parent::loadAll($offset, $count, $where); }
public function loadAllActive($offset = null, $count = null, $where = null) { $where = $this->addCondition("active = 1", $where); $where = $this->checkPrivileges($where, "parent_employee_id"); return parent::loadAll($offset, $count, $where); }
public function loadAllActive($offset = null, $count = null, $where = null) { $where = $this->checkPrivileges($where); return parent::loadAll($offset, $count, $where); }