protected function _getCat1() { if (empty($this->_cat1)) { $refcat1 = new Refcat1(); return $this->_cat1 = $refcat1->getAllCat1OfSpecificCategory($this->_busTypeId); } else { return $this->_cat1; } }
protected function _getCat3($cat2 = null) { if (empty($this->_cat3)) { $refcat3 = new Refcat1(); return $this->_cat3 = $refcat3->getAllCat1OfSpecificCategory($this->_busTypeId); } else { return $this->_cat3; } }