| [ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
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: | 240 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Zend_Gdata_Extension_Rating:: (13 methods):
__construct()
getDOM()
takeAttributeFromDOM()
getMin()
setMin()
getNumRaters()
setNumRaters()
getAverage()
setAverage()
getMax()
setMax()
getValue()
setValue()
Class: Zend_Gdata_Extension_Rating - X-Ref
Implements the gd:rating element| __construct($average = null, $min = null,$max = null, $numRaters = null, $value = null) X-Ref |
| Constructs a new Zend_Gdata_Extension_Rating object. param: integer $average (optional) Average rating. param: integer $min (optional) Minimum rating. param: integer $max (optional) Maximum rating. param: integer $numRaters (optional) Number of raters. param: integer $value (optional) The value of the rating. |
| 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 sending to the server upon updates, or for application storage/persistence. param: DOMDocument $doc The DOMDocument used to construct DOMElements return: DOMElement The DOMElement representing this element and all |
| takeAttributeFromDOM($attribute) X-Ref |
| Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array. param: DOMNode $attribute The DOMNode attribute needed to be handled |
| getMin() X-Ref |
| Get the value for this element's min attribute. return: integer The requested attribute. |
| setMin($value) X-Ref |
| Set the value for this element's min attribute. param: bool $value The desired value for this attribute. return: Zend_Gdata_Extension_Rating The element being modified. |
| getNumRaters() X-Ref |
| Get the value for this element's numRaters attribute. return: integer The requested attribute. |
| setNumRaters($value) X-Ref |
| Set the value for this element's numRaters attribute. param: bool $value The desired value for this attribute. return: Zend_Gdata_Extension_Rating The element being modified. |
| getAverage() X-Ref |
| Get the value for this element's average attribute. return: integer The requested attribute. |
| setAverage($value) X-Ref |
| Set the value for this element's average attribute. param: bool $value The desired value for this attribute. return: Zend_Gdata_Extension_Rating The element being modified. |
| getMax() X-Ref |
| Get the value for this element's max attribute. return: integer The requested attribute. |
| setMax($value) X-Ref |
| Set the value for this element's max attribute. param: bool $value The desired value for this attribute. return: Zend_Gdata_Extension_Rating The element being modified. |
| getValue() X-Ref |
| Get the value for this element's value attribute. return: integer The requested attribute. |
| setValue($value) X-Ref |
| Set the value for this element's value attribute. param: bool $value The desired value for this attribute. return: Zend_Gdata_Extension_Rating The element being modified. |
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |