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 ''; }
public static function getCurrency() { $model = Systems::model()->find('sys_parame="d_currency"'); return $model->sys_value; }