Get Satisfaction Company

$company = eden('getsatisfaction')->company('[CONSUMER_KEY]', '[CONSUMER_SECRET]', $_SESSION['access_token'], $_SESSION['access_secret']);
Figure 1. Company Methods
Method Arguments Returns Description
$company->filterByKeyword($keyword);
  1. string
Eden_Getsatisfaction_Company Set keyword filter
$company->getResponse(); none array Returns a list of companies
$company->searchByActivity($company);
  1. int|string
Eden_Getsatisfaction_Company Sets activity URL
$company->searchByProduct($product);
  1. int|string
Eden_Getsatisfaction_Company Set product URL
$company->searchByUser($user);
  1. int|string
Eden_Getsatisfaction_Company Sets user URL
$company->showPrivate(); none Eden_Getsatisfaction_Company Show private companies
$company->showPublic(); none Eden_Getsatisfaction_Company Show public companies
$company->showVisible(); none Eden_Getsatisfaction_Company Show visible companies
$company->setPage($page = 0);
  1. int
Eden_Getsatisfaction_Company Set page
$company->setRange($limit = 10);
  1. int
Eden_Getsatisfaction_Company Set range
$company->sortByActive(); none Eden_Getsatisfaction_Company Sort by active
$company->sortByAlphabet(); none Eden_Getsatisfaction_Company Sort by letters
$company->sortByCreated(); none Eden_Getsatisfaction_Company Sort by created

© 2012 Openovate Labs. All rights reserved.