Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

get_settings

Get all the settings for the given Infusion and return them as an array.

get_settings

Quote

get_settings ( string $setting_inf )


Parameters
setting_inf

The infusion you'll get the settings for.

Example
Code
<?php
require_once INCLUDES."infusions_include.php";
 
$inf_settings = get_settings("myinfusion");
 
// Settings are accessed like this: $inf_settings['mysetting']
?>


Output example

Quote

array
(
[mysetting] => myvalue
)



Changelog
7.01.00 - Function added to PHPFusion