API Documentation

Gdata/Books/Extension/Review.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Gdata
subpackage
Books
version
$Id: Review.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Gdata_Books_Extension_Review

Description

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 license@zend.com so we can send you a copy immediately.

Zend_Gdata_Books_Extension_Review

Extends from
Zend_Gdata_Extension
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Gdata
subpackage
Books
Properties
$_rootNamespace
$_rootElement
$_lang
$_type
Methods
__construct
getDOM
takeAttributeFromDOM
getLang
getType
setLang
setType

Description

User-provided review

Properties

$_lang

 $_lang = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_rootElement

 $_rootElement = 'review'

Details

visibility
protected
default
review
final
false
static
false

$_rootNamespace

 $_rootNamespace = 'gbs'

Details

visibility
protected
default
gbs
final
false
static
false

$_type

 $_type = 'null'

Details

visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct( string|null $lang = null, string|null $type = null, string|null $value = null ) :

Constructor for Zend_Gdata_Books_Extension_Review which User-provided review

Arguments
$lang
stringnull
Review language.
$type
stringnull
Type of text construct (typically text, html, or xhtml).
$value
stringnull
Text content of the review.
Details
visibility
public
final
false
static
false

getDOM

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.

Arguments
$doc
DOMDocument
The DOMDocument used to construct DOMElements
$majorVersion
$minorVersion
Output
DOMElement
The DOMElement representing this element and all child properties.
Details
visibility
public
final
false
static
false

getLang

getLang( ) : string

Returns the language of link title

Output
string
The lang
Details
visibility
public
final
false
static
false

getType

getType( ) : string

Returns the type of text construct (typically 'text', 'html' or 'xhtml')

Output
string
The type
Details
visibility
public
final
false
static
false

setLang

setLang( string $lang ) : Zend_Gdata_Books_Extension_Review

Sets the language of link title

Arguments
$lang
string
language of link title
Output
Zend_Gdata_Books_Extension_Review
Provides a fluent interface
Details
visibility
public
final
false
static
false

setType

setType( string $type ) : Zend_Gdata_Books_Extension_Review

Sets the type of text construct (typically 'text', 'html' or 'xhtml')

Arguments
$type
string
type of text construct (typically 'text', 'html' or 'xhtml')
Output
Zend_Gdata_Books_Extension_Review
Provides a fluent interface
Details
visibility
public
final
false
static
false

takeAttributeFromDOM

takeAttributeFromDOM( DOMNode $attribute ) :

Extracts XML attributes from the DOM and converts them to the appropriate object members.

Arguments
$attribute
DOMNode
The DOMNode attribute to be handled.
Details
visibility
protected
final
false
static
false
Documentation was generated by DocBlox.