API Documentation

Gdata/Extension/Who.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
Gdata
version
$Id: Who.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Gdata_Extension_Who

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_Extension_Who

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
Gdata
Properties
$_rootElement
$_email
$_rel
$_valueString
$_attendeeStatus
$_attendeeType
$_entryLink
Methods
__construct
getDOM
takeAttributeFromDOM
takeChildFromDOM
__toString
getValueString
setValueString
getEmail
setEmail
getRel
setRel
getAttendeeStatus
setAttendeeStatus
getAttendeeType
setAttendeeType

Description

Data model class to represent a participant

Properties

$_attendeeStatus

 $_attendeeStatus = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_attendeeType

 $_attendeeType = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_email

 $_email = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_entryLink

 $_entryLink = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_rel

 $_rel = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_rootElement

 $_rootElement = 'who'

Details

visibility
protected
default
who
final
false
static
false

$_valueString

 $_valueString = 'null'

Details

visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct( string $email = null, string $rel = null, string $valueString = null, Zend_Gdata_Extension_AttendeeStatus $attendeeStatus = null, Zend_Gdata_Extension_AttendeeType $attendeeType = null, string $entryLink = null ) :

Constructs a new Zend_Gdata_Extension_Who object.

Arguments
$email
string
(optional) Email address.
$rel
string
(optional) Relationship description.
$valueString
string
(optional) Simple string describing this person.
$attendeeStatus
Zend_Gdata_Extension_AttendeeStatus
(optional) The status of the attendee.
$attendeeType
Zend_Gdata_Extension_AttendeeType
(optional) The type of the attendee.
$entryLink
string
URL pointing to an associated entry (Contact kind) describing this person.
Details
visibility
public
final
false
static
false

__toString

__toString( ) : string

Retrieves a human readable string describing this attribute's value.

Output
string
The attribute value.
Details
visibility
public
final
false
static
false

getAttendeeStatus

getAttendeeStatus( ) : Zend_Gdata_Extension_AttendeeStatus

Get this entry's AttendeeStatus element.

Output
Zend_Gdata_Extension_AttendeeStatus
The requested entry.
Details
visibility
public
final
false
static
false

getAttendeeType

getAttendeeType( ) : Zend_Gdata_Extension_AttendeeType

Get this entry's AttendeeType element.

Output
Zend_Gdata_Extension_AttendeeType
The requested entry.
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 sending to the server upon updates, or 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

getEmail

getEmail( ) : string

Get the value for this element's Email attribute.

Output
string
The requested attribute.
Details
visibility
public
final
false
static
false

getRel

getRel( ) : string

Get the value for this element's Rel attribute.

Output
string
The requested attribute.
Details
visibility
public
final
false
static
false

getValueString

getValueString( ) : string

Get the value for this element's ValueString attribute.

Output
string
The requested attribute.
Details
visibility
public
final
false
static
false

setAttendeeStatus

setAttendeeStatus( Zend_Gdata_Extension_AttendeeStatus $value ) : Zend_Gdata_Extension_Who

Set the child's AttendeeStatus element.

Arguments
$value
Zend_Gdata_Extension_AttendeeStatus
The desired value for this attribute.
Output
Zend_Gdata_Extension_Who
The element being modified.
Details
visibility
public
final
false
static
false

setAttendeeType

setAttendeeType( Zend_Gdata_Extension_AttendeeType $value ) : Zend_Gdata_Extension_Who

Set the child's AttendeeType element.

Arguments
$value
Zend_Gdata_Extension_AttendeeType
The desired value for this attribute.
Output
Zend_Gdata_Extension_Who
The element being modified.
Details
visibility
public
final
false
static
false

setEmail

setEmail( string $value ) : Zend_Gdata_Extension_Who

Set the value for this element's Email attribute.

Arguments
$value
string
The desired value for this attribute.
Output
Zend_Gdata_Extension_Who
The element being modified.
Details
visibility
public
final
false
static
false

setRel

setRel( string $value ) : Zend_Gdata_Extension_Who

Set the value for this element's Rel attribute.

Arguments
$value
string
The desired value for this attribute.
Output
Zend_Gdata_Extension_Who
The element being modified.
Details
visibility
public
final
false
static
false

setValueString

setValueString( string $value ) : Zend_Gdata_Extension_Who

Set the value for this element's ValueString attribute.

Arguments
$value
string
The desired value for this attribute.
Output
Zend_Gdata_Extension_Who
The element being modified.
Details
visibility
public
final
false
static
false

takeAttributeFromDOM

takeAttributeFromDOM( DOMNode $attribute ) :

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.

Arguments
$attribute
DOMNode
The DOMNode attribute needed to be handled
Details
visibility
protected
final
false
static
false

takeChildFromDOM

takeChildFromDOM( DOMNode $child ) :

Creates individual Entry objects of the appropriate type and stores them as members 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.