public static function addJsVars($vars)
    {
        
        
    	if(is_array($vars)){
	    	foreach($vars as $name => $value){
	    		if(is_int($name)){
	    			$name = 'var_'.$name;
	    		}
				self::addJsVar($name, $value);
			}
    	}
        
        
    }
public static function addJsVars($vars)
    {
        
        
    	if(is_array($vars)){
	    	foreach($vars as $name => $value){
	    		if(is_int($name)){
	    			$name = 'var_'.$name;
	    		}
				self::addJsVar($name, $value);
			}
    	}
        
        
    }
public static function addJsVars ( $ vars ) { if ( is_array ( $ vars ) ) { foreach ( $ vars as $ name => $ value ) { if ( is_int ( $ name ) ) { $ name = 'var_' . $ name ; } self :: addJsVar ( $ name , $ value ) ; } } }
Short description of method addJsVars

@access public
@author Bertrand Chevrier, <bertrand.chevrier@tudor.lu>
@param  array vars
@return mixed
Short description of method addJsVars