[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Gdata/App/ -> BaseMediaSource.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 179 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions

  getContentType()
  setContentType()
  getSlug()
  setSlug()
  __get()
  __set()
  __isset()

Functions
Functions that are not part of a class:

getContentType()   X-Ref
The content type for the attached file (example image/png)

return: string The content type

setContentType($value)   X-Ref
Set the content type for the file attached (example image/png)

param: string $value The content type
return: Zend_Gdata_App_MediaFileSource Provides a fluent interface

getSlug()   X-Ref
Returns the Slug header value.  Used by some services to determine the
title for the uploaded file.  Returns null if no slug should be used.

return: string

setSlug($value)   X-Ref
Sets the Slug header value.  Used by some services to determine the
title for the uploaded file.  A null value indicates no slug header.

return: Zend_Gdata_App_MediaSource Provides a fluent interface

__get($name)   X-Ref
Magic getter to allow acces like $source->foo to call $source->getFoo()
Alternatively, if no getFoo() is defined, but a $_foo protected variable
is defined, this is returned.

TODO Remove ability to bypass getFoo() methods??

param: string $name The variable name sought

__set($name, $val)   X-Ref
Magic setter to allow acces like $source->foo='bar' to call
$source->setFoo('bar') automatically.

Alternatively, if no setFoo() is defined, but a $_foo protected variable
is defined, this is returned.

param: string $name
param: string $value

__isset($name)   X-Ref
Magic __isset method

param: string $name



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1