Functions | |
| parse_redirect (&$server) | |
| Queries the local server, and returns processed CSV data. | |
| GetSearchResults ($in_http_vars) | |
| This returns the search results, in whatever form was requested. | |
| GetFormats (&$server, $in_lang=null) | |
| This returns the complete formats table. | |
| GetChanges ($in_start_date=null, $in_end_date=null, $in_meeting_id=null, $in_sb_id=null) | |
| This returns change records. | |
| HandleDefault ($in_http_vars) | |
| Handles no command supplied (error) | |
| HandleNoServer () | |
| Handles no server available (error). | |
| TranslateToJSON ($in_csv_data) | |
| Translates CSV to JSON. | |
| TranslateToXML ($in_csv_data) | |
| Translates CSV to XML. | |
| GetChanges | ( | $ | in_start_date = null, |
| $ | in_end_date = null, |
||
| $ | in_meeting_id = null, |
||
| $ | in_sb_id = null |
||
| ) |
This returns change records.
This little internal function will simply fill * the $bmlt_array_gather array with a linear set of * Service body IDs that can be used for a quick * comparison, later on. It is a callback function. *
| in_start_date | Optional. A start date (In PHP time() format). If supplied, then only changes on, or after this date will be returned. |
| in_end_date | Optional. An end date (In PHP time() format). If supplied, then only changes that occurred on, or before this date will be returned. |
| in_meeting_id | Optional. If supplied, an ID for a particular meeting. Only changes for that meeting will be returned. |
| in_sb_id | Optional. If supplied, an ID for a particular Service body. Only changes for that Service body will be returned. |
Referenced by parse_redirect().
| GetFormats | ( | &$ | server, |
| $ | in_lang = null |
||
| ) |
This returns the complete formats table.
| server | A reference to an instance of c_comdef_server |
| in_lang | The language of the formats to be returned. |
Referenced by parse_redirect().
| GetSearchResults | ( | $ | in_http_vars | ) |
This returns the search results, in whatever form was requested.
| in_http_vars | The HTTP GET and POST parameters. |
Referenced by parse_redirect().
| HandleDefault | ( | $ | in_http_vars | ) |
Handles no command supplied (error)
| in_http_vars | The HTTP GET and POST parameters. |
Referenced by parse_redirect().
| HandleNoServer | ( | ) |
Handles no server available (error).
| parse_redirect | ( | &$ | server | ) |
Queries the local server, and returns processed CSV data.
This requires that the "switcher=" parameter be set in the GET or POST parameters:
| server | A reference to an instance of c_comdef_server |
| TranslateToJSON | ( | $ | in_csv_data | ) |
Translates CSV to JSON.
| in_csv_data | An array of CSV data, with the first element being the field names. |
Referenced by parse_redirect().
| TranslateToXML | ( | $ | in_csv_data | ) |
Translates CSV to XML.
| in_csv_data | An array of CSV data, with the first element being the field names. |
Referenced by parse_redirect().
1.7.4