Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Assists in constructing queries for YouTube videos
__construct(
$url
=
null
)
:
Create Gdata_YouTube_VideoQuery object
getFormat(
)
:
string|null
Return the value of the format parameter
getLocation(
)
:
string|null
Get the value of the location parameter
getLocationRadius(
)
:
string|null
Get the value of the location-radius parameter
getOrderBy(
)
:
string|null
Return the value of the orderby parameter if it exists
getQueryString(
integer $majorProtocolVersion
=
null, integer $minorProtocolVersion
=
null
)
:
string
Generate the query string from the URL parameters, optionally modifying them based on protocol version.
getQueryUrl(
integer $majorProtocolVersion
=
null, integer $minorProtocolVersion
=
null
)
:
string
Returns the generated full query URL, optionally modifying it based on the protocol version.
getRacy(
)
:
string|null
Whether or not to include racy videos in the search results
getSafeSearch(
)
:
string|null
Return the value of the safeSearch parameter
getTime(
)
:
string|null
Return the value of the time parameter
getVideoQuery(
)
:
string|null
Return the value of the video query that has been set
setFeedType(
string $feedType, string $videoId
=
null, string $entry
=
null
)
:
Sets the type of feed this query should be used to search
setFormat(
string $value
=
null
)
:
Zend_Gdata_YouTube_VideoQuery
Sets the param to return videos of a specific format
setLocation(
string $value
)
:
Zend_Gdata_YouTube_VideoQuery
Sets the location parameter for the query
setLocationRadius(
string $value
)
:
Zend_Gdata_YouTube_VideoQuery
Sets the location-radius parameter for the query
setOrderBy(
string $value
)
:
Zend_Gdata_YouTube_Query
Set the value of the orderby parameter
setRacy(
string $value
=
null
)
:
Zend_Gdata_YouTube_VideoQuery
Sets whether or not to include racy videos in the search results
setSafeSearch(
string $value
)
:
Zend_Gdata_YouTube_VideoQuery
Set the safeSearch parameter
setTime(
string $value
=
null
)
:
Zend_Gdata_YouTube_VideoQuery
Sets the time period over which this query should apply
setUploader(
string $value
=
null
)
:
Zend_Gdata_YouTube_VideoQuery
Sets the value of the uploader parameter
setVideoQuery(
string $value
=
null
)
:
Zend_Gdata_YouTube_VideoQuery
Sets the formatted video query (vq) URL param value