[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Gdata/YouTube/ -> VideoQuery.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 540 lines (17 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Gdata_YouTube_VideoQuery:: (21 methods):
  __construct()
  setFeedType()
  setLocation()
  getLocation()
  setLocationRadius()
  getLocationRadius()
  setTime()
  setUploader()
  setVideoQuery()
  setFormat()
  setRacy()
  getRacy()
  setSafeSearch()
  getSafeSearch()
  setOrderBy()
  getFormat()
  getVideoQuery()
  getTime()
  getOrderBy()
  getQueryString()
  getQueryUrl()


Class: Zend_Gdata_YouTube_VideoQuery  - X-Ref

Assists in constructing queries for YouTube videos

__construct($url = null)   X-Ref
Create Gdata_YouTube_VideoQuery object


setFeedType($feedType, $videoId = null, $entry = null)   X-Ref
Sets the type of feed this query should be used to search

param: string $feedType The type of feed
param: string $videoId The ID of the video associated with this query
param: string $entry The ID of the entry associated with this query

setLocation($value)   X-Ref
Sets the location parameter for the query

param: string $value
return: Zend_Gdata_YouTube_VideoQuery Provides a fluent interface

getLocation()   X-Ref
Get the value of the location parameter

return: string|null Return the location if it exists, null otherwise.

setLocationRadius($value)   X-Ref
Sets the location-radius parameter for the query

param: string $value
return: Zend_Gdata_YouTube_VideoQuery Provides a fluent interface

getLocationRadius()   X-Ref
Get the value of the location-radius parameter

return: string|null Return the location-radius if it exists,

setTime($value = null)   X-Ref
Sets the time period over which this query should apply

param: string $value
return: Zend_Gdata_YouTube_VideoQuery Provides a fluent interface

setUploader($value = null)   X-Ref
Sets the value of the uploader parameter

param: string $value The value of the uploader parameter. Currently this
return: Zend_Gdata_YouTube_VideoQuery Provides a fluent interface

setVideoQuery($value = null)   X-Ref
Sets the formatted video query (vq) URL param value

param: string $value
return: Zend_Gdata_YouTube_VideoQuery Provides a fluent interface

setFormat($value = null)   X-Ref
Sets the param to return videos of a specific format

param: string $value
return: Zend_Gdata_YouTube_VideoQuery Provides a fluent interface

setRacy($value = null)   X-Ref
Sets whether or not to include racy videos in the search results

param: string $value
return: Zend_Gdata_YouTube_VideoQuery Provides a fluent interface

getRacy()   X-Ref
Whether or not to include racy videos in the search results

return: string|null The value of racy if it exists, null otherwise.

setSafeSearch($value)   X-Ref
Set the safeSearch parameter

param: string $value The value of the parameter, currently only 'none',
return: Zend_Gdata_YouTube_VideoQuery Provides a fluent interface

getSafeSearch()   X-Ref
Return the value of the safeSearch parameter

return: string|null The value of the safeSearch parameter if it has been

setOrderBy($value)   X-Ref
Set the value of the orderby parameter

param: string $value
return: Zend_Gdata_YouTube_Query Provides a fluent interface

getFormat()   X-Ref
Return the value of the format parameter

return: string|null The value of format if it exists, null otherwise.

getVideoQuery()   X-Ref
Return the value of the video query that has been set

return: string|null The value of the video query if it exists,

getTime()   X-Ref
Return the value of the time parameter

return: string|null The time parameter if it exists, null otherwise.

getOrderBy()   X-Ref
Return the value of the orderby parameter if it exists

return: string|null The value of orderby if it exists, null otherwise.

getQueryString($majorProtocolVersion = null,$minorProtocolVersion = null)   X-Ref
Generate the query string from the URL parameters, optionally modifying
them based on protocol version.

param: integer $majorProtocolVersion The major protocol version
param: integer $minorProtocolVersion The minor protocol version
return: string querystring

getQueryUrl($majorProtocolVersion = null,$minorProtocolVersion = null)   X-Ref
Returns the generated full query URL, optionally modifying it based on
the protocol version.

param: integer $majorProtocolVersion The major protocol version
param: integer $minorProtocolVersion The minor protocol version
return: string The URL



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1