/** * helper function for any files that do not inherit fflcommerce_base, they can access fflcommerce_options * @return FFLCommerce_Options_Interface the options that have been set, or null if they haven't been set yet */ public static function get_options() { // default options to FFLCommerce_Options if they haven't been set if (self::$fflcommerce_options == null) { self::$fflcommerce_options = new FFLCommerce_Options(); } return self::$fflcommerce_options; }