/** * Returns a configuration. This is the main static method for this Object. * * @return Mixed * @param $className The data class, as specified in your fixture file. Parent classes won't work * @param $identifier The identifier string, as provided in your fixture file * @param $subIdentifier A secondary identifier string, as provided in your fixture file * @TODO: implement subIdentfier */ static function get($className, $identifier, $subIdentifier = null) { if (!self::$singleton) { self::$singleton = new EcommerceConfig(); } //SS_Backtrace::backtrace(); return self::$singleton->getStaticValue($className, $identifier, $subIdentifier); }