示例#1
0
 function updateProject($id, $param, $language)
 {
     $language = ilandCommonUtils::getLanguage();
     $DBConfig = ilandCommonUtils::getSiteDBConfig();
     return iland4_suaDuAn($DBConfig, $id, $param, $language);
 }
示例#2
0
 function ordering($id, $language)
 {
     $DBConfig = ilandCommonUtils::getSiteDBConfig();
     $ordering = 'ordering_' . $id;
     $orderingvalue = JRequest::getVar("{$ordering}", '');
     $paramvalue = "ordering = '{$orderingvalue}'";
     //		print_r($ordering);
     //		print_r($orderingvalue);
     //		print_r($paramvalue);
     //		exit;
     return iland4_suaDuAn($DBConfig, $id, $paramvalue, $language);
     //		$this->updateProject_group( $id, $paramvalue, $language );
 }