Get Satisfaction Product

$product = eden('getsatisfaction')->product('[CONSUMER_KEY]', '[CONSUMER_SECRET]', $_SESSION['access_token'], $_SESSION['access_secret']);
Figure 1. Product Methods
Method Arguments Returns Description
$product->getResponse(); none array Returns a list of companies
$product->filterByKeyword($keyword);
  1. string
Eden_GetSatisfaction_Product Filter by keyword
$product->searchByCompany($company);
  1. string|int
Eden_GetSatisfaction_Product Sets company URL
$product->searchByTopic($topic);
  1. string|int
Eden_GetSatisfaction_Product Sets topic URL
$product->searchByUser($user);
  1. int|string
Eden_GetSatisfaction_Product Sets user URL
$product->setPage($page = 0);
  1. int
Eden_GetSatisfaction_Product Set page
$product->setRange($limit = 10);
  1. int
Eden_GetSatisfaction_Product Set range
$product->sortByAlphabet(); none Eden_GetSatisfaction_Product Sort by letters
$product->sortByLeastPopular(); none Eden_GetSatisfaction_Product Sort by lame
$product->sortByMostPopular(); none Eden_GetSatisfaction_Product Sort by popular

© 2012 Openovate Labs. All rights reserved.