コード例 #1
0
ファイル: PremiumType.php プロジェクト: sp1ke77/MLM-1
 public function loadAllActive($offset = null, $count = null, $where = null)
 {
     $where = $this->addCondition("active = 1", $where);
     return parent::loadAll($offset, $count, $where);
 }
コード例 #2
0
ファイル: Employee.php プロジェクト: sp1ke77/MLM-1
 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);
 }
コード例 #3
0
ファイル: NewsGroup.php プロジェクト: sp1ke77/MLM-1
 public function loadAllActive($offset = null, $count = null, $where = null)
 {
     return parent::loadAll($offset, $count, $where);
 }
コード例 #4
0
ファイル: Recruit.php プロジェクト: sp1ke77/MLM-1
 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);
 }
コード例 #5
0
ファイル: Settlement.php プロジェクト: sp1ke77/MLM-1
 public function loadAllActive($offset = null, $count = null, $where = null)
 {
     $where = $this->checkPrivileges($where);
     return parent::loadAll($offset, $count, $where);
 }