示例#1
0
 function getUserTaxObject()
 {
     if (is_object($this->user_tax_obj)) {
         return $this->user_tax_obj;
     } else {
         $utlf = new UserTaxListFactory();
         $utlf->getByUserId($this->getUser());
         if ($utlf->getRecordCount() > 0) {
             $this->user_tax_obj = $utlf->getCurrent();
             return $this->user_tax_obj;
         }
         return FALSE;
     }
 }