You are here

public static function InstagramConf::instance in Drupagram 7

Same name and namespace in other branches
  1. 6 drupagram.lib.php \InstagramConf::instance()
7 calls to InstagramConf::instance()
drupagram_shorten_url in ./drupagram.module
Very lightweight helper function to generate a TinyURL for a given post.
drupagram_views_handler_field_images::option_definition in ./drupagram_views_field_handlers.inc
Information about options for all kinds of purposes will be held here.
drupagram_views_handler_field_xss::option_definition in ./drupagram_views_field_handlers.inc
Information about options for all kinds of purposes will be held here.
drupagram_views_handler_field_xss::render in ./drupagram_views_field_handlers.inc
Render the field.
Instagram::create_url in ./drupagram.lib.php

... See full list

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;
}