Functions
search_results_single_meeting.php File Reference

This file represents a View layer of the BMLT MVC pattern. It will display a single meeting, as specified by the ID passed in. More...

Functions

 DisplayOneMeeting (&$in_http_vars)
 Return the HTML for one single meeting's detail display.
 ExtractURIs ($in_string, $in_title)
 Scans a string for viable URIs, and turns them into anchors. Will also do htmlspecialchars. The string needs to be 100% URI, and use one of the protocols we define.

Detailed Description

This file represents a View layer of the BMLT MVC pattern. It will display a single meeting, as specified by the ID passed in.

This file is part of the Basic Meeting List Toolbox (BMLT).

Find out more at: http://magshare.org/bmlt

BMLT is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

BMLT is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this code. If not, see <http://www.gnu.org/licenses/>.


Function Documentation

DisplayOneMeeting ( &$  in_http_vars)

Return the HTML for one single meeting's detail display.

Returns:
a string, containing the HTML generated by the search.
Parameters:
in_http_varsThe various HTTP GET and POST parameters. This is passed by reference If this is defined and set to 'yes', then that means the client supports AJAX.
  • 'supports_ajax' We serve non-JavaScript content to clients that don't support AJAX, even if they support JavaScript.

This is necessary for links:

  • 'script_name' This is the HTTP path to the script.

The values that are important to the listing are:

  • 'single_meeting_id' This is a single positive integer that is the ID of the meeting that is to be listed.
  • 'no_close' This is set to true if the close boxes should not be displayed (single meeting only on one page).

This function will add two parameters to the input array:

  • 'out_longitude' The longitude of the meeting.
  • 'out_latitude' The latitude of the meeting.

Referenced by DisplaySingleMeeting().

ExtractURIs ( in_string,
in_title 
)

Scans a string for viable URIs, and turns them into anchors. Will also do htmlspecialchars. The string needs to be 100% URI, and use one of the protocols we define.

Returns:
a string, containing the HTML generated by the operation.

These are the protocols we use. They can be overridden in the auto-config.inc.php file by redeclaring the $uri_protocols variable.

Parameters:
in_stringA string to be checked.
in_titleThe prefix for the title

Referenced by DisplayOneMeeting().

 All Classes Files Functions Variables Enumerations