Google_SeriesSubmissionsServiceResource
The "submissions" collection of methods.
Defined (1)
The class is defined in the following location(s).
- /google-api/src/contrib/Google_ModeratorService.php
- class Google_SeriesSubmissionsServiceResource extends Google_ServiceResource {
- /**
- * Searches the submissions for the specified series and returns the search results.
- * (submissions.list)
- *
- * @param string $seriesId The decimal ID of the Series.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string lang The language code for the language the client prefers results in.
- * @opt_param string max-results Maximum number of results to return.
- * @opt_param bool includeVotes Specifies whether to include the current user's vote
- * @opt_param string start-index Index of the first result to be retrieved.
- * @opt_param string author Restricts the results to submissions by a specific author.
- * @opt_param string sort Sort order.
- * @opt_param string q Search query.
- * @opt_param bool hasAttachedVideo Specifies whether to restrict to submissions that have videos attached.
- * @return Google_SubmissionList
- */
- public function listSeriesSubmissions($seriesId, $optParams = array()) {
- $params = array('seriesId' => $seriesId);
- $params = array_merge($params, $optParams);
- $data = $this->__call('list', array($params));
- if ($this->useObjects()) {
- return new Google_SubmissionList($data);
- } else {
- return $data;
- }
- }
- }