Source for file link.php
Documentation is available at link.php
* @package Joomla.Platform
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* @package Joomla.Platform
* The URI to the linked resource.
* The relationship between the feed and the linked resource.
* The language of the resource found at the given URI.
* The title of the resource.
* The length of the resource in bytes.
* @param string $uri The URI to the linked resource.
* @param string $relation The relationship between the feed and the linked resource.
* @param string $type The resource type.
* @param string $language The language of the resource found at the given URI.
* @param string $title The title of the resource.
* @param integer $length The length of the resource in bytes.
* @throws InvalidArgumentException
public function __construct($uri =
null, $relation =
null, $type =
null, $language =
null, $title =
null, $length =
null)
// Validate the length input.
throw
new InvalidArgumentException('Length must be numeric.');
$this->length = (int)
$length;
Documentation generated on Tue, 19 Nov 2013 15:07:09 +0100 by phpDocumentor 1.4.3