API Documentation

Zend/Gdata/Gbase/Extension/BaseAttribute.php

Show: inherited
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Gdata  
Subpackage
Gbase  
Version
$Id: BaseAttribute.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Gdata_Gbase_Extension_BaseAttribute

Package: Zend\Gdata\Gbase

Concrete class for working with ItemType elements.

Parent(s)
\Zend_Gdata_App_Extension_Element < \Zend_Gdata_App_Extension < \Zend_Gdata_App_Base
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotected  $_rootNamespace= ''g''

Namespace for Google Base elements

var @string

Default value'g'Details
Type

Methods

methodpublic__construct( string $name = null, string|string $text = null,  $type = null ) : void

Create a new instance.

Parameters
Name Type Description
$name string

(optional) The name of the Base attribute

$text string|string

(optional) The text value of the Base attribute

$type
methodpublicgetName( ) : \attribute

Get the name of the attribute

Returns
Type Description
\attribute name The requested object.
methodpublicgetType( ) : \attribute

Get the type of the attribute

Returns
Type Description
\attribute type The requested object.
methodpublicsetName( string $name ) : \Zend_Gdata_Extension_ItemEntry

Set the 'name' of the Base attribute object: <g:[$name] type='[$type]'>[$value]</g:[$name]>

Parameters
Name Type Description
$name string

The name of the Base attribute

Returns
Type Description
\Zend_Gdata_Extension_ItemEntry Provides a fluent interface
methodpublicsetType( string $type ) : \Zend_Gdata_Extension_ItemEntry

Set the 'type' of the Base attribute object: <g:[$name] type='[$type]'>[$value]</g:[$name]>

Parameters
Name Type Description
$type string

The type of the Base attribute

Returns
Type Description
\Zend_Gdata_Extension_ItemEntry Provides a fluent interface
Documentation was generated by DocBlox 0.15.1.