You are here

public static function InstagramConf::instance in Drupagram 6

Same name and namespace in other branches
  1. 7 drupagram.lib.php \InstagramConf::instance()
2 calls to InstagramConf::instance()
drupagram_views_handler_field_images::option_definition in views/drupagram_views_handler_field_images.inc
Instagram::create_url in ./drupagram.lib.php

File

./drupagram.lib.php, line 27
Classes to implement the full Instagram API

Class

InstagramConf
Class InstagramConf

Code

public static function instance() {
  if (!isset(self::$instance)) {
    $className = __CLASS__;
    self::$instance = new $className();
  }
  return self::$instance;
}