public static function save($data)
	{
		$instance = self::getInstance();

		// Merge and make sure values are unique
		$data = $instance->merge($instance->config->toArray(), $data);
		$data = $instance->unique($data);

		// Set data back to the instance
		$instance->config = new Registry($data);

		// Actually write out the data
		$instance->write();

		return true;
	}
public static function save($data)
	{
		$instance = self::getInstance();

		// Merge and make sure values are unique
		$data = $instance->merge($instance->config->toArray(), $data);
		$data = $instance->unique($data);

		// Set data back to the instance
		$instance->config = new Registry($data);

		// Actually write out the data
		$instance->write();

		return true;
	}
public static function save ( $ data ) { $ instance = self :: getInstance ( ) ; // Merge and make sure values are unique $ data = $ instance -> merge ( $ instance -> config -> toArray ( ) , $ data ) ; $ data = $ instance -> unique ( $ data ) ; // Set data back to the instance $ instance -> config = new Registry ( $ data ) ; // Actually write out the data $ instance -> write ( ) ; return true ; }
Saves the data to the config file

Passed data will be merged with existing data.

@param   array  $data  The data to save
@return  bool
Saves the data to the config file