|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($url=null) | |
| setFeedType ($feedType, $videoId=null, $entry=null) | |
| setLocation ($value) | |
| getLocation () | |
| setLocationRadius ($value) | |
| getLocationRadius () | |
| setTime ($value=null) | |
| setUploader ($value=null) | |
| setVideoQuery ($value=null) | |
| setFormat ($value=null) | |
| setRacy ($value=null) | |
| getRacy () | |
| setSafeSearch ($value) | |
| getSafeSearch () | |
| setOrderBy ($value) | |
| getFormat () | |
| getVideoQuery () | |
| getTime () | |
| getOrderBy () | |
| getQueryString ($majorProtocolVersion=null, $minorProtocolVersion=null) | |
| getQueryUrl ($majorProtocolVersion=null, $minorProtocolVersion=null) | |
Definition at line 45 of file VideoQuery.php.
| __construct | ( | $ | url = null | ) |
Create Gdata_YouTube_VideoQuery object
Reimplemented from Zend_Gdata_Query.
Definition at line 51 of file VideoQuery.php.
| getFormat | ( | ) |
Return the value of the format parameter
Definition at line 393 of file VideoQuery.php.
| getLocation | ( | ) |
Get the value of the location parameter
Definition at line 161 of file VideoQuery.php.
Get the value of the location-radius parameter
Definition at line 193 of file VideoQuery.php.
| getOrderBy | ( | ) |
Return the value of the orderby parameter if it exists
Definition at line 436 of file VideoQuery.php.
| 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 |
Definition at line 454 of file VideoQuery.php.
| 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 |
Definition at line 524 of file VideoQuery.php.

| getRacy | ( | ) |
Whether or not to include racy videos in the search results
Definition at line 319 of file VideoQuery.php.
| getSafeSearch | ( | ) |
Return the value of the safeSearch parameter
Definition at line 364 of file VideoQuery.php.
| getTime | ( | ) |
Return the value of the time parameter
Definition at line 422 of file VideoQuery.php.
| getVideoQuery | ( | ) |
Return the value of the video query that has been set
Definition at line 408 of file VideoQuery.php.
| 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 |
Definition at line 63 of file VideoQuery.php.
| setFormat | ( | $ | value = null | ) |
Sets the param to return videos of a specific format
| string | $value |
Definition at line 282 of file VideoQuery.php.
| setLocation | ( | $ | value | ) |
Sets the location parameter for the query
| string | $value |
| Zend_Gdata_App_InvalidArgumentException |
Definition at line 125 of file VideoQuery.php.
| setLocationRadius | ( | $ | value | ) |
Sets the location-radius parameter for the query
| string | $value |
Definition at line 177 of file VideoQuery.php.
| setOrderBy | ( | $ | value | ) |
Set the value of the orderby parameter
| string | $value |
Definition at line 378 of file VideoQuery.php.
| setRacy | ( | $ | value = null | ) |
Sets whether or not to include racy videos in the search results
| string | $value |
Definition at line 298 of file VideoQuery.php.
| 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 |
Definition at line 336 of file VideoQuery.php.
| setTime | ( | $ | value = null | ) |
Sets the time period over which this query should apply
| string | $value |
| Zend_Gdata_App_InvalidArgumentException |
Definition at line 209 of file VideoQuery.php.
| 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 |
Definition at line 243 of file VideoQuery.php.
| setVideoQuery | ( | $ | value = null | ) |
Sets the formatted video query (vq) URL param value
| string | $value |
Definition at line 266 of file VideoQuery.php.