Google_CommunityRelatedServiceResource

The "communityRelated" collection of methods.

Defined (1)

The class is defined in the following location(s).

/inc/google-api-php-client/src/contrib/Google_OrkutService.php  
  1. class Google_CommunityRelatedServiceResource extends Google_ServiceResource { 
  2.  
  3.  
  4. /** 
  5. * Retrieves the communities related to another one. (communityRelated.list) 
  6. * @param int $communityId The ID of the community whose related communities will be listed. 
  7. * @param array $optParams Optional parameters. 
  8. * @opt_param string hl Specifies the interface language (host language) of your user interface. 
  9. * @return Google_CommunityList 
  10. */ 
  11. public function listCommunityRelated($communityId, $optParams = array()) { 
  12. $params = array('communityId' => $communityId); 
  13. $params = array_merge($params, $optParams); 
  14. $data = $this->__call('list', array($params)); 
  15. if ($this->useObjects()) { 
  16. return new Google_CommunityList($data); 
  17. } else { 
  18. return $data;