Gdata/YouTube/Extension/Position.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
YouTube  
Version
$Id$  

\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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotected$_rootElement = 'position'
Default value'position'Details
Type
n/a
>VPropertyprotected$_rootNamespace = 'yt'
Default value'yt'Details
Type
n/a

Methods

methodpublic__construct(string $value = null) : void

Constructs a new Zend_Gdata_YouTube_Extension_Position object.

Parameters
NameTypeDescription
$valuestring

(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
TypeDescription
string
methodpublicgetValue() : int

Get the value for the position in the playlist

Returns
TypeDescription
intThe 1-based position in the playlist
methodpublicsetValue(int $value) : \Zend_Gdata_Extension_Visibility

Set the value for the position in the playlist

Parameters
NameTypeDescription
$valueint

The 1-based position in the playlist

Returns
TypeDescription
\Zend_Gdata_Extension_VisibilityThe element being modified
Documentation was generated by phpDocumentor 2.2.0 .