eventTemplateGetList
public static array eventTemplateGetList(string token,string categoryID,string filter,string lang)
Get the tickets of the event.
Section
Event Related Methods

Parameters
string tokenA valid token for your account. To generate a token, use the login method.
string langLanguage for event templates.

Returns
arrayReturns an array with the results.


Examples
download example code
xmlrpc_eventTemplateGetList.php


  1. <?php
  2. /**
  3. This Example shows how to authenticate a user using XML-RPC.
  4. Note that we are using the PEAR XML-RPC client and recommend others do as well.
  5. **/
  6. require_once 'XML/RPC2/Client.php';
  7. require_once 'inc/config.php';
  8. $client = XML_RPC2_Client::create($apiURL);
  9. $token = $client->login($apiLogin, $apiPassword);
  10. $categoryID='484';
  11. $eventTemplate = $client->eventTemplateGetList($token, $categoryID,"","");
  12.  
  13. foreach($eventTemplate as $rec) {
  14.     echo $rec['sequence'] . "] Template Name: " . $rec['name'] . "(" . $rec['templateid'] . ")";
  15.     echo "\t Categoryid:" . $rec['categoryid'] ;
  16.     echo "\t Image:" . $rec['image'] ;
  17.     echo "\t Css:" . $rec['css'] ;
  18.     echo "\t Is New:" . $rec['isnew'] ;
  19.     echo "\t Is Popular:" . $rec['ispopular'] ;
  20.     echo "\t Is Used:" . $rec['isused'] ;
  21. }
  22.  
  23. ?>