Gdata/YouTube/Extension/Position.php
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
Methods
__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 |
__toString() : string
Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0
Returns
Type | Description |
---|---|
string |
getValue() : int
Get the value for the position in the playlist
Returns
Type | Description |
---|---|
int | The 1-based position in the playlist |
setValue(int $value) : \Zend_Gdata_Extension_Visibility
Set the value for the position in the playlist
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | int | The 1-based position in the playlist |
Type | Description |
---|---|
\Zend_Gdata_Extension_Visibility | The element being modified |