SoPHIE API Documentation

Api API Documentation

SoPHIE Api API Class

The API provides dynamic initialization of api classes

Init: $apiApi = $api->get('sophie_api');

Method: $apiApi->get(...)

Initialize and get an API object.

Parameters:

  • String $name Name of the api to initialize
  • String $version Version of the api to initialize
  • Boolean $reset Reinitialize api object

Returns Sophie_Api_Abstract

Method: $apiApi->has(...)

Check whether an API is available.

Parameters:

  • String $name Name of the api to initialize
  • String $version Version of the api to initialize

Returns Boolean

Method: $apiApi->getList(...)