예제 #1
0
 /** static public function get_instance
  *		Returns the singleton instance
  *		of the Gravatar Object as a reference
  *
  * @param array optional settings
  * @action optionally creates the instance
  * @return Log Object reference
  */
 public static function get_instance($settings = array())
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new Gravatar($settings);
     }
     return self::$_instance;
 }