Zend Framework
1.12
|
Public Member Functions | |
__construct ($url=null) | |
Create Gdata_YouTube_VideoQuery object. | |
setFeedType ($feedType, $videoId=null, $entry=null) | |
Sets the type of feed this query should be used to search. | |
setLocation ($value) | |
Sets the location parameter for the query. | |
getLocation () | |
Get the value of the location parameter. | |
setLocationRadius ($value) | |
Sets the location-radius parameter for the query. | |
getLocationRadius () | |
Get the value of the location-radius parameter. | |
setTime ($value=null) | |
Sets the time period over which this query should apply. | |
setUploader ($value=null) | |
Sets the value of the uploader parameter. | |
setVideoQuery ($value=null) | |
Sets the formatted video query (vq) URL param value. | |
setFormat ($value=null) | |
Sets the param to return videos of a specific format. | |
setRacy ($value=null) | |
Sets whether or not to include racy videos in the search results. | |
getRacy () | |
Whether or not to include racy videos in the search results. | |
setSafeSearch ($value) | |
Set the safeSearch parameter. | |
getSafeSearch () | |
Return the value of the safeSearch parameter. | |
setOrderBy ($value) | |
Set the value of the orderby parameter. | |
getFormat () | |
Return the value of the format parameter. | |
getVideoQuery () | |
Return the value of the video query that has been set. | |
getTime () | |
Return the value of the time parameter. | |
getOrderBy () | |
Return the value of the orderby parameter if it exists. | |
getQueryString ($majorProtocolVersion=null, $minorProtocolVersion=null) | |
Generate the query string from the URL parameters, optionally modifying them based on protocol version. | |
getQueryUrl ($majorProtocolVersion=null, $minorProtocolVersion=null) | |
Returns the generated full query URL, optionally modifying it based on the protocol version. | |
![]() | |
__construct ($url=null) | |
Create Gdata_Query object. | |
getQueryString () | |
resetParameters () | |
getQueryUrl () | |
setParam ($name, $value) | |
getParam ($name) | |
setAlt ($value) | |
setMaxResults ($value) | |
setQuery ($value) | |
setStartIndex ($value) | |
setUpdatedMax ($value) | |
setUpdatedMin ($value) | |
setPublishedMax ($value) | |
setPublishedMin ($value) | |
setAuthor ($value) | |
getAlt () | |
getMaxResults () | |
getQuery () | |
getStartIndex () | |
getUpdatedMax () | |
getUpdatedMin () | |
getPublishedMax () | |
getPublishedMin () | |
getAuthor () | |
setCategory ($value) | |
getCategory () | |
__get ($name) | |
__set ($name, $val) | |
Additional Inherited Members | |
![]() | |
$_params = array() | |
$_defaultFeedUri = null | |
$_url = null | |
$_category = null | |
__construct | ( | $url = null | ) |
Create Gdata_YouTube_VideoQuery object.
getFormat | ( | ) |
Return the value of the format parameter.
getLocation | ( | ) |
Get the value of the location parameter.
getLocationRadius | ( | ) |
Get the value of the location-radius parameter.
getOrderBy | ( | ) |
Return the value of the orderby parameter if it exists.
getQueryString | ( | $majorProtocolVersion = null , |
|
$minorProtocolVersion = null |
|||
) |
Generate the query string from the URL parameters, optionally modifying them based on protocol version.
integer | $majorProtocolVersion | The major protocol version |
integer | $minorProtocolVersion | The minor protocol version |
Zend_Gdata_App_VersionException |
getQueryUrl | ( | $majorProtocolVersion = null , |
|
$minorProtocolVersion = null |
|||
) |
Returns the generated full query URL, optionally modifying it based on the protocol version.
integer | $majorProtocolVersion | The major protocol version |
integer | $minorProtocolVersion | The minor protocol version |
getRacy | ( | ) |
Whether or not to include racy videos in the search results.
getSafeSearch | ( | ) |
Return the value of the safeSearch parameter.
getTime | ( | ) |
Return the value of the time parameter.
getVideoQuery | ( | ) |
Return the value of the video query that has been set.
setFeedType | ( | $feedType, | |
$videoId = null , |
|||
$entry = null |
|||
) |
Sets the type of feed this query should be used to search.
string | $feedType | The type of feed |
string | $videoId | The ID of the video associated with this query |
string | $entry | The ID of the entry associated with this query |
setFormat | ( | $value = null | ) |
Sets the param to return videos of a specific format.
string | $value |
setLocation | ( | $value | ) |
Sets the location parameter for the query.
string | $value |
Zend_Gdata_App_InvalidArgumentException |
setLocationRadius | ( | $value | ) |
Sets the location-radius parameter for the query.
string | $value |
setOrderBy | ( | $value | ) |
Set the value of the orderby parameter.
string | $value |
setRacy | ( | $value = null | ) |
Sets whether or not to include racy videos in the search results.
string | $value |
setSafeSearch | ( | $value | ) |
Set the safeSearch parameter.
string | $value | The value of the parameter, currently only 'none', 'moderate' or 'strict' are allowed values. |
Zend_Gdata_App_InvalidArgumentException |
setTime | ( | $value = null | ) |
Sets the time period over which this query should apply.
string | $value |
Zend_Gdata_App_InvalidArgumentException |
setUploader | ( | $value = null | ) |
Sets the value of the uploader parameter.
string | $value | The value of the uploader parameter. Currently this can only be set to the value of 'partner'. |
Zend_Gdata_App_InvalidArgumentException |
setVideoQuery | ( | $value = null | ) |
Sets the formatted video query (vq) URL param value.
string | $value |