You are here

public static function filedepot::getInstance in filedepot 7

Same name and namespace in other branches
  1. 6 filedepot.class.php \filedepot::getInstance()
4 calls to filedepot::getInstance()
filedepot_archiver::__construct in ./filedepot_archiver.class.php
Instantiates a new zip archive object - also creates the zip file
filedepot_archiver::__construct in ./filedepot_archiver.zip.class.php
Instantiates a new zip archive object - also creates the zip file
filedepot_filedepot in ./filedepot.module
filedepot_uninstall in ./filedepot.install
Implementation of hook_uninstall().

File

./filedepot.class.php, line 210
filedepot.class.php Main class for the Filedepot module

Class

filedepot
@file filedepot.class.php Main class for the Filedepot module

Code

public static function getInstance() {
  if (self::$_instance === NULL) {
    self::$_instance = new self();
  }
  return self::$_instance;
}