phpBelBios
[ class tree: phpBelBios ] [ index: phpBelBios ] [ all elements ]

Class: TixwayQuery

Source Location: /phpbelbios.inc

Class Overview

Tixway
   |
   --TixwayQuery

TixwayQuery is used to query information in the Tixway webservice.


Methods


Inherited Methods

Class: Tixway

Tixway::__construct()
Creates a new instance of Tixway. Provide a tixway username and passord. Additional default parameters (such as a default city_id) vcan be provided.
Tixway::add_default_parameters()
Sets the default parameteters.
Tixway::build_url()
Builds a query URL from the base url. Optionally adds ports and other HTTP url options.
Tixway::call_url()
Calls the URL and returns the data from the query
Tixway::do_call()
Creates the complete URL, calls that, and parses the resulting XML.
Tixway::get_default_parameters()
Returns required, default parameters
Tixway::get_normalized_http_url()
Parses the http_url and rebuilds it into scheme://host/path with an option al port
Tixway::get_parameter()
Returns a single parameter
Tixway::get_parameters()
Returns all parameters
Tixway::parse_xml()
Parses the XML using SimpleXML and puts theresulting records in an array for easier handling.
Tixway::set_parameter()
Adds a parameter to the set of parameters
Tixway::set_parameters()
Adds a range of parameters to the set of parameters
Tixway::to_postdata()
builds the data one would send in a POST request

Class Details

[line 204]
TixwayQuery is used to query information in the Tixway webservice.



[ Top ]


Class Methods


constructor __construct [line 207]

TixwayQuery __construct( $user, $password, [ $parameters = array()])



Overrides Tixway::__construct() (Creates a new instance of Tixway. Provide a tixway username and passord. Additional default parameters (such as a default city_id) vcan be provided.)

Parameters:

   $user  
   $password  
   $parameters  

[ Top ]

method find_cinemas [line 224]

void find_cinemas( [filter $filter = array()])

Finds cities that fit within the filter



Tags:

access:  public


Parameters:

filter   $filter   array A keyed array where the key resembles the field and the value must match a record in the results. E.g. find_cities(array('cityName' => 'Nijmegen')) will return only the cities where the name equals Nijmegen.

[ Top ]

method find_cities [line 243]

void find_cities( [filter $filter = array()])

Finds cities that fit within the filter



Tags:

access:  public


Parameters:

filter   $filter   array A keyed array where the key resembles the field and the value must match a record in the results. E.g. find_cities(array('cityName' => 'Nijmegen')) will return only the cities where the name equals Nijmegen.

[ Top ]

method find_movies [line 265]

void find_movies( [filter $filter = array()])

Finds movies that fit within the filter



Tags:

access:  public


Parameters:

filter   $filter   array A keyed array where the key resembles the field and the value must match a record in the results. E.g. find_movies(array('movieType' => '1')) will return only the premiere movies.

[ Top ]

method get_all_movies_in_cinemas [line 294]

void get_all_movies_in_cinemas( [ $cinema_ids = array()])



Tags:

access:  public


Parameters:

   $cinema_ids  

[ Top ]

method get_all_movies_in_cities [line 290]

void get_all_movies_in_cities( [ $city_ids = array()])



Tags:

access:  public


Parameters:

   $city_ids  

[ Top ]

method get_all_performances_for_movies [line 362]

void get_all_performances_for_movies( [ $movie_ids = array()])



Tags:

access:  public


Parameters:

   $movie_ids  

[ Top ]

method get_all_performances_in_cinemas [line 323]

void get_all_performances_in_cinemas( [ $cinema_ids = array()])



Tags:

access:  public


Parameters:

   $cinema_ids  

[ Top ]

method get_single_cinema [line 286]

void get_single_cinema( $cinema_id)



Tags:

access:  public


Parameters:

   $cinema_id  

[ Top ]

method get_single_movie [line 212]

void get_single_movie( )



Tags:

access:  public


[ Top ]


Documentation generated on Tue, 13 May 2008 22:23:39 +0200 by phpDocumentor 1.4.1Support This Project