XDeode = new XDeode ( 9 ); Doo::loadModel ( 'cld/staff_cld' ); $this->staff = new staff_cld (); } public function GetStaffCategoryId($categoryId=0){ if (!is_numeric($categoryId)){ $categoryId=$this->XDeode->decode($categoryId); } $list=$this->staff->GetCategoryId($categoryId); return $list; } } ?>