Xinc-Api
[ class tree: Xinc-Api ] [ index: Xinc-Api ] [ all elements ]

Class: Xinc_Api_Handler

Source Location: /Xinc/Api/Handler.php

Class Overview




Methods



Class Details

[line 39]


[ Top ]


Class Methods


static method getInstance [line 49]

static Xinc_Api_Handler getInstance( [string $basePath = '/api'])



Tags:

access:  public


Parameters:

string   $basePath  

[ Top ]

method getBasePath [line 116]

string getBasePath( )

Returns the baseurl of the api handler



Tags:

access:  public


[ Top ]

method processCall [line 84]

void processCall( String $path)

Processes the call to a specific api url



Tags:

access:  public


Parameters:

String   $path  

[ Top ]

method registerResponseFormat [line 74]

void registerResponseFormat( Xinc_Api_Response_Format_Interface &$format, Xinc_Api_Response_Format_Interface $format)

Register a response format with the api handler
  • Calls to a api contain the request for a specific response forma like json etc.




Tags:

access:  public


Parameters:


[ Top ]


Documentation generated on Sun, 09 Dec 2012 21:49:27 +0100 by phpDocumentor 1.4.4