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.
Data model class to represent a playlist item's position in the list (yt:position)

__construct(
string $value
=
null
)
:
void
Constructs a new Zend_Gdata_YouTube_Extension_Position object.
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
Type | Description |
---|---|
string |

getValue(
)
:
int
Get the value for the position in the playlist
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
Name | Type | Description |
---|---|---|
$value | int | The 1-based position in the playlist |
Type | Description |
---|---|
\Zend_Gdata_Extension_Visibility | The element being modified |