public static function PuSHEnvironment::instance in Feeds 7.2
Same name and namespace in other branches
- 6 plugins/FeedsHTTPFetcher.inc \PuSHEnvironment::instance()
- 7 plugins/FeedsHTTPFetcher.inc \PuSHEnvironment::instance()
Singleton.
1 call to PuSHEnvironment::instance()
- FeedsHTTPFetcher::subscriber in plugins/
FeedsHTTPFetcher.inc - Convenience method for instantiating a subscriber object.
File
- plugins/
FeedsHTTPFetcher.inc, line 444
Class
- PuSHEnvironment
- Provide environmental functions to the PuSHSubscriber library.
Code
public static function instance() {
static $env;
if (empty($env)) {
$env = new PuSHEnvironment();
}
return $env;
}