source: trunk/www.guidonia.net/wp/wp-content/plugins/webtv/Drivers/Zend/Gdata/Media.php@ 44

Last change on this file since 44 was 44, checked in by luciano, 14 years ago
File size: 1.9 KB
Line 
1<?php
2
3/**
4 * Zend Framework
5 *
6 * LICENSE
7 *
8 * This source file is subject to the new BSD license that is bundled
9 * with this package in the file LICENSE.txt.
10 * It is also available through the world-wide-web at this URL:
11 * http://framework.zend.com/license/new-bsd
12 * If you did not receive a copy of the license and are unable to
13 * obtain it through the world-wide-web, please send an email
14 * to license@zend.com so we can send you a copy immediately.
15 *
16 * @category Zend
17 * @package Zend_Gdata
18 * @subpackage Media
19 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
20 * @license http://framework.zend.com/license/new-bsd New BSD License
21 */
22
23/**
24 * @see Zend_Gdata
25 */
26require_once 'Zend/Gdata.php';
27
28/**
29 * Service class for interacting with the services which use the media extensions
30 * @link http://code.google.com/apis/gdata/calendar.html
31 *
32 * @category Zend
33 * @package Zend_Gdata
34 * @subpackage Media
35 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
36 * @license http://framework.zend.com/license/new-bsd New BSD License
37 */
38class Zend_Gdata_Media extends Zend_Gdata
39{
40
41 /**
42 * Namespaces used for Zend_Gdata_Photos
43 *
44 * @var array
45 */
46 public static $namespaces = array(
47 array('media', 'http://search.yahoo.com/mrss/', 1, 0)
48 );
49
50 /**
51 * Create Gdata_Media object
52 *
53 * @param Zend_Http_Client $client (optional) The HTTP client to use when
54 * when communicating with the Google Apps servers.
55 * @param string $applicationId The identity of the app in the form of Company-AppName-Version
56 */
57 public function __construct($client = null, $applicationId = 'MyCompany-MyApp-1.0')
58 {
59 $this->registerPackage('Zend_Gdata_Media');
60 $this->registerPackage('Zend_Gdata_Media_Extension');
61 parent::__construct($client, $applicationId);
62 }
63
64}
Note: See TracBrowser for help on using the repository browser.