Beispiel #1
0
 /**
  * returns the existing Logger instance or instantiates a new one
  *
  * @access public
  * @author Joel Bout, <*****@*****.**>
  * @return common_Logger
  */
 public static function singleton()
 {
     $returnValue = null;
     if (is_null(self::$instance)) {
         self::$instance = new self();
     }
     $returnValue = self::$instance;
     return $returnValue;
 }