API Documentation

Zend/Gdata/YouTube/Extension/Position.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
YouTube  
Version
$Id: Position.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Gdata_YouTube_Extension_Position

Package: Zend\Gdata\YouTube

Data model class to represent a playlist item's position in the list (yt:position)

Parent(s)
\Zend_Gdata_Extension < \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  $_rootElement= ''position''
Default value'position'Details
Type
Propertyprotected  $_rootNamespace= ''yt''
Default value'yt'Details
Type

Methods

methodpublic__construct( string $value = null ) : void

Constructs a new Zend_Gdata_YouTube_Extension_Position object.

Parameters
Name Type Description
$value string

(optional) The 1-based position in the playlist

methodpublic__toString( ) : string

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

Returns
Type Description
string
methodpublicgetValue( ) : int

Get the value for the position in the playlist

Returns
Type Description
int The 1-based position in the playlist
methodpublicsetValue( int $value ) : \Zend_Gdata_Extension_Visibility

Set the value for the position in the playlist

Parameters
Name Type Description
$value int

The 1-based position in the playlist

Returns
Type Description
\Zend_Gdata_Extension_Visibility The element being modified
Documentation was generated by DocBlox 0.15.1.