My Test Code
- Details
- Category: Joomla!
- Published on Sunday, 10 July 2011 14:54
- Written by Super User
- Hits: 5943
My test code:
foreach($default_params as $param){
$value = $this->params->get($param);
if($value != 'default' && !empty($value)){
if(!in_array($value, array('true', 'false')) && !is_numeric($value)) $value = "'$value'";
$temp[] = "'$param':$value";
}
}
OK kana....

