API Documentation

Gdata/Gapps/OwnerEntry.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
Gapps
version
$Id:$
Classes
Zend_Gdata_Gapps_OwnerEntry

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_Gapps_OwnerEntry

Extends from
Zend_Gdata_Entry
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
Gapps
Properties
$_entryClassName
$_property
Methods
__construct
getDOM
takeChildFromDOM
getProperty
setProperty

Description

Data model class for a Google Apps Owner Entry.

Each owner entry describes a single owner within a Google Apps hosted domain.

To transfer owner entries to and from the Google Apps servers, including creating new entries, refer to the Google Apps service class, Zend_Gdata_Gapps.

This class represents in the Google Data protocol.

Properties

$_entryClassName

 $_entryClassName = 'Zend_Gdata_Gapps_OwnerEntry'

Details

visibility
protected
default
Zend_Gdata_Gapps_OwnerEntry
final
false
static
false

$_property

Zend_Gdata_Gapps_Extension_Property $_property = 'array'

<apps:property> element containing information about other items relevant to this entry.

Details

$_property
Zend_Gdata_Gapps_Extension_Property
visibility
protected
default
array
final
false
static
false

Methods

__construct

__construct( DOMElement $element = null ) :

Create a new instance.

Arguments
$element
DOMElement
(optional) DOMElement from which this object should be constructed.
Details
visibility
public
final
false
static
false

getDOM

getDOM( DOMDocument $doc = null,  $majorVersion = 1,  $minorVersion = null ) : DOMElement

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.

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

getProperty

getProperty( string $rel = null ) : mixed

Returns all property tags for this entry

Arguments
$rel
string
The rel value of the property to be found. If null, the array of properties is returned instead.
Output
mixed
Either an array of Zend_Gdata_Gapps_Extension_Property objects if $rel is null, a single Zend_Gdata_Gapps_Extension_Property object if $rel is specified and a matching feed link is found, or null if $rel is specified and no matching property is found.
Details
visibility
public
final
false
static
false

setProperty

setProperty( array $value ) : Zend_Gdata_Gapps_OwnerEntry

Set the value of the property property for this object.

Arguments
$value
array
A collection of Zend_Gdata_Gapps_Extension_Property objects.
Output
Zend_Gdata_Gapps_OwnerEntry
Provides a fluent interface.
Details
visibility
public
final
false
static
false

takeChildFromDOM

takeChildFromDOM( DOMNode $child ) :

Creates individual Entry objects of the appropriate type and stores them as owners of this entry based upon DOM data.

Arguments
$child
DOMNode
The DOMNode to process
Details
visibility
protected
final
false
static
false
Documentation was generated by DocBlox.