| [ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
| Copyright: | Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
| License: | http://framework.zend.com/license/new-bsd New BSD License |
| Version: | $Id: Duration.php 24593 2012-01-05 20:35:02Z matthew $ |
| File Size: | 126 lines (4 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 1 file include/Zend/Gdata/Extension.php |
Zend_Gdata_YouTube_Extension_Duration:: (6 methods):
__construct()
getDOM()
takeAttributeFromDOM()
getSeconds()
setSeconds()
__toString()
Class: Zend_Gdata_YouTube_Extension_Duration - X-Ref
Represents the yt:duration element used by the YouTube data API| __construct($seconds = null) X-Ref |
| Constructs a new Zend_Gdata_YouTube_Extension_Duration object. param: bool $seconds(optional) The seconds value of the element. |
| getDOM($doc = null, $majorVersion = 1, $minorVersion = null) X-Ref |
| Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for sending to the server upon updates, or for application storage/persistence. param: DOMDocument $doc The DOMDocument used to construct DOMElements return: DOMElement The DOMElement representing this element and all |
| takeAttributeFromDOM($attribute) X-Ref |
| Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and valueare stored in an array. param: DOMNode $attribute The DOMNode attribute needed to be handled |
| getSeconds() X-Ref |
| Get the value for this element's seconds attribute. return: int The value associated with this attribute. |
| setSeconds($value) X-Ref |
| Set the value for this element's seconds attribute. param: int $value The desired value for this attribute. return: Zend_Gdata_YouTube_Extension_Duration The element being modified. |
| __toString() X-Ref |
| Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0 return: string The duration in seconds |
| Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |