Gdata/Analytics/Extension/Property.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Gdata  
Subpackage
Analytics  
Version
$Id$  

\Zend_Gdata_Analytics_Extension_Property

Package: Zend_Gdata\Analytics
Represents a Gdata extension
Parent(s)
\Zend_Gdata_Extension < \Zend_Gdata_App_Extension < \Zend_Gdata_App_Base
Children
\Zend_Gdata_Analytics_Extension_Metric
Category
Zend  

Properties

>VPropertyprotected$_name = null
Default valuenullDetails
Type
n/a
>VPropertyprotected$_rootElement = 'property'
Default value'property'Details
Type
n/a
>VPropertyprotected$_rootNamespace = 'ga'
Default value'ga'Details
Type
n/a
>VPropertyprotected$_value = null
Default valuenullDetails
Type
n/a

Methods

methodpublic__construct(string $value = null,  $name = null) : void

Constructs a new Zend_Gdata_Calendar_Extension_Timezone object.

Parameters
NameTypeDescription
$valuestring

(optional) The text content of the element.

$name
methodpublic__toString() : void

Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0

methodpublicgetName() : string

Returns
TypeDescription
string
methodpublicgetValue() : string

Get the value for this element's value attribute.

Returns
TypeDescription
stringThe value associated with this attribute.
methodpublicsetName(string $name) : \Zend_Gdata_Analytics_Extension_Property

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
\Zend_Gdata_Analytics_Extension_Property
methodpublicsetValue(string $value) : \Zend_Gdata_Analytics_Extension_Property

Set the value for this element's value attribute.

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Analytics_Extension_PropertyThe element being modified.
methodprotectedtakeAttributeFromDOM(\DOMNode $attribute) : void

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.

Parameters
NameTypeDescription
$attribute\DOMNode

The DOMNode attribute needed to be handled

Documentation was generated by phpDocumentor 2.2.0 .