/** * This function is a singleton method used to instantiate the EEM_Attendee object * * @access public * @return EEM_Price_Type instance */ public static function instance() { // check if instance of EEM_Price_Type already exists if (self::$_instance === NULL) { // instantiate Price_Type model self::$_instance = new self(); } // EEM_Price_Type object return self::$_instance; }