[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Gdata/YouTube/ -> ActivityEntry.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: 232 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Gdata_YouTube_ActivityEntry:: (9 methods):
  __construct()
  getDOM()
  takeChildFromDOM()
  getVideoId()
  getUsername()
  getRating()
  getRatingValue()
  getActivityType()
  getAuthorName()


Class: Zend_Gdata_YouTube_ActivityEntry  - X-Ref

A concrete class for working with YouTube user activity entries.

__construct($element = null)   X-Ref
Constructs a new Zend_Gdata_YouTube_ActivityEntry object.

param: DOMElement $element (optional) The DOMElement on which to

getDOM($doc = null, $majorVersion = 1, $minorVersion = null)   X-Ref
Retrieves a DOMElement which corresponds to this element and all
child properties.  This is used to build an entry back into a DOM
and eventually XML text for application storage/persistence.

param: DOMDocument $doc The DOMDocument used to construct DOMElements
return: DOMElement The DOMElement representing this element and all

takeChildFromDOM($child)   X-Ref
Creates individual Entry objects of the appropriate type and
stores them as members of this entry based upon DOM data.

param: DOMNode $child The DOMNode to process

getVideoId()   X-Ref
Returns the video ID for this activity entry.

return: null|Zend_Gdata_YouTube_Extension_VideoId

getUsername()   X-Ref
Returns the username for this activity entry.

return: null|Zend_Gdata_YouTube_Extension_Username

getRating()   X-Ref
Returns the rating for this activity entry.

return: null|Zend_Gdata_YouTube_Extension_Rating

getRatingValue()   X-Ref
Return the value of the rating for this video entry.

Convenience method to save needless typing.

return: integer|null The value of the rating that was created, if found.

getActivityType()   X-Ref
Return the activity type that was performed.

Convenience method that inspects category where scheme is
http://gdata.youtube.com/schemas/2007/userevents.cat.

return: string|null The activity category if found.

getAuthorName()   X-Ref
Convenience method to quickly get access to the author of the activity

return: string The author of the activity



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