Google_SeriesSubmissionsServiceResource

The "submissions" collection of methods.

Defined (1)

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

/inc/google-api-php-client/src/contrib/Google_ModeratorService.php  
  1. class Google_SeriesSubmissionsServiceResource extends Google_ServiceResource { 
  2.  
  3.  
  4. /** 
  5. * Searches the submissions for the specified series and returns the search results. 
  6. * (submissions.list) 
  7. * @param string $seriesId The decimal ID of the Series. 
  8. * @param array $optParams Optional parameters. 
  9. * @opt_param string lang The language code for the language the client prefers resuls in. 
  10. * @opt_param string max-results Maximum number of results to return. 
  11. * @opt_param bool includeVotes Specifies whether to include the current user's vote 
  12. * @opt_param string start-index Index of the first result to be retrieved. 
  13. * @opt_param string author Restricts the results to submissions by a specific author. 
  14. * @opt_param string sort Sort order. 
  15. * @opt_param string q Search query. 
  16. * @opt_param bool hasAttachedVideo Specifies whether to restrict to submissions that have videos attached. 
  17. * @return Google_SubmissionList 
  18. */ 
  19. public function listSeriesSubmissions($seriesId, $optParams = array()) { 
  20. $params = array('seriesId' => $seriesId); 
  21. $params = array_merge($params, $optParams); 
  22. $data = $this->__call('list', array($params)); 
  23. if ($this->useObjects()) { 
  24. return new Google_SubmissionList($data); 
  25. } else { 
  26. return $data;