/** * event_phone * * @access public * @param int $EVT_ID * @return string */ public static function event_phone($EVT_ID = 0) { $event = EEH_Event_View::get_event($EVT_ID); if ($event instanceof EE_Event) { EE_Registry::instance()->load_helper('Formatter'); return EEH_Schema::telephone($event->phone()); } return NULL; }
/** * venue_phone * * @access public * @param int $VNU_ID * @return string */ public static function venue_phone($VNU_ID = 0) { $venue = EEH_Venue_View::get_venue($VNU_ID); if ($venue instanceof EE_Venue) { return EEH_Schema::telephone($venue->phone()); } return ''; }
/** * venue_phone * * @access public * @param int $VNU_ID * @return string */ public static function venue_phone($VNU_ID = 0) { $venue = EEH_Venue_View::get_venue($VNU_ID); if ($venue instanceof EE_Venue) { EE_Registry::instance()->load_helper('Formatter'); return EEH_Schema::telephone($venue->phone()); } return ''; }
/** * event_phone * * @access public * @param int $EVT_ID * @return string */ public static function event_phone($EVT_ID = 0) { $event = EEH_Event_View::get_event($EVT_ID); if ($event instanceof EE_Event) { return EEH_Schema::telephone($event->phone()); } return NULL; }