/** * * Creates a singlton instance of the Staple_AD object. * @return Staple_AD */ public static function get() { if (!isset(self::$conn)) { $c = __CLASS__; self::$conn = new $c(); } return self::$conn; }