[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Tag youtube block
Copyright: | 1999 onwards Martin Dougiamas (http://dougiamas.com) |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 402 lines (14 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
block_tag_youtube:: (16 methods):
init()
applicable_formats()
has_config()
specialization()
instance_allow_multiple()
get_content()
get_videos_by_playlist()
get_videos_by_tag()
get_videos_by_tag_and_category()
fetch_request()
render_video_list()
get_error_message()
get_service()
render_items()
get_categories()
category_map_old2new()
Class: block_tag_youtube - X-Ref
init() X-Ref |
applicable_formats() X-Ref |
No description |
has_config() X-Ref |
It can be configured. return: bool |
specialization() X-Ref |
No description |
instance_allow_multiple() X-Ref |
No description |
get_content() X-Ref |
No description |
get_videos_by_playlist() X-Ref |
No description |
get_videos_by_tag() X-Ref |
No description |
get_videos_by_tag_and_category() X-Ref |
No description |
fetch_request($request) X-Ref |
Sends a request to fetch data. param: string $request |
render_video_list(SimpleXMLElement $xml) X-Ref |
Renders the video list. param: SimpleXMLElement $xml |
get_error_message($message = null) X-Ref |
Returns an error message. Useful when the block is not properly set or something goes wrong. param: string $message The message to display. return: string HTML |
get_service() X-Ref |
Gets the youtube service object. return: Google_Service_YouTube |
render_items($videosdata) X-Ref |
Renders the list of items. param: array $videosdata return: string HTML |
get_categories() X-Ref |
No description |
category_map_old2new($oldcat) X-Ref |
Provide conversion from old numeric categories available in youtube API to the new ones available in the Google API param: int $oldcat old category code return: mixed new category code or 0 (if no match found) |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |