You are here

function commerceguys_marketplace_training_load in Commerce Guys Marketplace 7

Loads a single training from the remote service.

Parameters

$id: The id of the training to load.

Return value

A training object.

File

./commerceguys_marketplace.module, line 311
Connector module for http://marketplace.commerceguys.com

Code

function commerceguys_marketplace_training_load($id) {
  return commerceguys_marketplace_get_manager('training')
    ->load($id);
}