[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
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 [email protected] so we can send you a copy immediately. 15 * 16 * @category Zend 17 * @package Zend_Gdata 18 * @subpackage App 19 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 20 * @license http://framework.zend.com/license/new-bsd New BSD License 21 * @version $Id$ 22 */ 23 24 /** 25 * Interface for defining data that can be encoded and sent over the network. 26 * 27 * @category Zend 28 * @package Zend_Gdata 29 * @subpackage App 30 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 31 * @license http://framework.zend.com/license/new-bsd New BSD License 32 */ 33 interface Zend_Gdata_App_MediaSource 34 { 35 /** 36 * Return a byte stream representation of this object. 37 * 38 * @return string 39 */ 40 public function encode(); 41 42 /** 43 * Set the content type for the file attached (example image/png) 44 * 45 * @param string $value The content type 46 * @return Zend_Gdata_App_MediaFileSource Provides a fluent interface 47 */ 48 public function setContentType($value); 49 50 /** 51 * The content type for the file attached (example image/png) 52 * 53 * @return string The content type 54 */ 55 public function getContentType(); 56 57 /** 58 * Sets the Slug header value. Used by some services to determine the 59 * title for the uploaded file. A null value indicates no slug header. 60 * 61 * @var string The slug value 62 * @return Zend_Gdata_App_MediaSource Provides a fluent interface 63 */ 64 public function setSlug($value); 65 66 /** 67 * Returns the Slug header value. Used by some services to determine the 68 * title for the uploaded file. Returns null if no slug should be used. 69 * 70 * @return string The slug value 71 */ 72 public function getSlug(); 73 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |