Example #1
0
 protected function getfilename()   {
            $id=$this->cid;
            $sysmodel=Systems::model()->find('vendor_company_id=:uID', array(':uID'=>$id));
            if(!($sysmodel==null))
           {
                 return $sysmodel->Xml_file;
           }
           return  '';
 }
Example #2
0
 public static function getCurrency()
 {
     $model = Systems::model()->find('sys_parame="d_currency"');
     return $model->sys_value;
 }