Gdata/Books/Extension/Review.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Gdata
- Subpackage
- Books
- Version
- $Id$
\Zend_Gdata_Books_Extension_Review
Package: Zend_Gdata\Books
User-provided review
- Parent(s)
- \Zend_Gdata_Extension < \Zend_Gdata_App_Extension < \Zend_Gdata_App_Base
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods
__construct(string | null $lang = null, string | null $type = null, string | null $value = null) : void
Constructor for Zend_Gdata_Books_Extension_Review which User-provided review
Parameters
Name | Type | Description |
---|---|---|
$lang | string | null | Review language. |
$type | string | null | Type of text construct (typically text, html,
|
$value | string | null | Text content of the review. |
getDOM(\DOMDocument $doc = null, $majorVersion = 1, $minorVersion = null) : \DOMElement
Retrieves DOMElement which corresponds to this element and all child properties. This is used to build this object back into a DOM and eventually XML text for sending to the server upon updates, or for application storage/persistance.
Parameters
Returns
Name | Type | Description |
---|---|---|
$doc | \DOMDocument | The DOMDocument used to construct DOMElements |
$majorVersion | ||
$minorVersion |
Type | Description |
---|---|
\DOMElement | The DOMElement representing this element and all child properties. |
getType() : string
Returns the type of text construct (typically 'text', 'html' or 'xhtml')
Returns
Type | Description |
---|---|
string | The type |
setLang(string $lang) : \Zend_Gdata_Books_Extension_Review
Sets the language of link title
Parameters
Returns
Name | Type | Description |
---|---|---|
$lang | string | language of link title |
Type | Description |
---|---|
\Zend_Gdata_Books_Extension_Review | Provides a fluent interface |
setType(string $type) : \Zend_Gdata_Books_Extension_Review
Sets the type of text construct (typically 'text', 'html' or 'xhtml')
Parameters
Returns
Name | Type | Description |
---|---|---|
$type | string | type of text construct (typically 'text', 'html' or 'xhtml') |
Type | Description |
---|---|
\Zend_Gdata_Books_Extension_Review | Provides a fluent interface |