Get Satisfaction Topic

$topic = eden('getsatisfaction')->topic('[CONSUMER_KEY]', '[CONSUMER_SECRET]', $_SESSION['access_token'], $_SESSION['access_secret']);
Figure 1. Topic Methods
Method Arguments Returns Description
$topic->filterByCompany($company);
  1. string|int
Eden_GetSatisfaction_Topic Filter by company
$topic->filterByDefined($defined);
  1. string|int
Eden_GetSatisfaction_Topic Filter by defined
$topic->filterByProduct($product);
  1. string|int|array
Eden_GetSatisfaction_Topic Filter by product
$topic->filterBySince($since);
  1. string|int
Eden_GetSatisfaction_Topic Filter by since
$topic->filterByStatusActive(); none Eden_GetSatisfaction_Topic Filter by active status
$topic->filterByStatusComplete(); none Eden_GetSatisfaction_Topic Filter by complete status
$topic->filterByStatusNone(); none Eden_GetSatisfaction_Topic Filter by no status
$topic->filterByStatusPending(); none Eden_GetSatisfaction_Topic Filter by pending status
$topic->filterByStatusRejected(); none Eden_GetSatisfaction_Topic Filter by rejected status
$topic->filterByTag($tag);
  1. string
Eden_GetSatisfaction_Topic Filter by tag
$topic->filterByUser($user);
  1. string|int
Eden_GetSatisfaction_Topic Filter by user
$topic->getResponse(); none array Returns a list of companies
$topic->setCompany($company);
  1. string|int
Eden_GetSatisfaction_Topic Sets company URL
$topic->setCompanyProduct($company, $product);
  1. string|int
  2. string|int
Eden_GetSatisfaction_Topic Sets company URL
$topic->setCompanyTag($company, $tag);
  1. string|int
  2. string|int
Eden_GetSatisfaction_Topic Sets company URL
$topic->setFollowed($user);
  1. string|int
Eden_GetSatisfaction_Topic Sets company URL
$topic->setPage($page = 0);
  1. int
Eden_GetSatisfaction_Topic Set page
$topic->setProduct($product);
  1. string|int
Eden_GetSatisfaction_Topic Sets company URL
$topic->setRange($limit = 10);
  1. int
Eden_GetSatisfaction_Topic Set range
$topic->setUser($user);
  1. string|int
Eden_GetSatisfaction_Topic Sets company URL
$topic->showUpdates(); none Eden_GetSatisfaction_Topic Sort by updates
$topic->showIdeas(); none Eden_GetSatisfaction_Topic Sort by ideas
$topic->showPraise(); none Eden_GetSatisfaction_Topic Sort by praise
$topic->showProblems(); none Eden_GetSatisfaction_Topic Sort by problems
$topic->showQuestions(); none Eden_GetSatisfaction_Topic Sort by questions
$topic->sortByActive(); none Eden_GetSatisfaction_Topic Sort by active
$topic->sortByCreated(); none Eden_GetSatisfaction_Topic Sort by created
$topic->sortByPriority(); none Eden_GetSatisfaction_Topic Sort by priority
$topic->sortByReplies(); none Eden_GetSatisfaction_Topic Sort by replies
$topic->sortByUnanswered(); none Eden_GetSatisfaction_Topic Sort by unanswered
$topic->sortByVotes(); none Eden_GetSatisfaction_Topic Sort by votes

© 2012 Openovate Labs. All rights reserved.