| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Document |
JDocumentFeed |
__construct |
__construct() |
Never | Work in Progress |
JDocumentFeed class constructor.
The constructor should be invoked via the JDocument::getInstance() method.
The constructor sets the document type to ‘feed’ and invokes the parent constructor.
JDocumentFeed __construct ( $options )
| $options | array | is an associative array of configuration values for the JDocument class. Please see JDocument for more information. |
A JDocumentFeed object can be created using the following:
Example
$options = array( 'direction' => 'rtl' ); $feedDoc =& JDocument::getInstance( 'feed', $options );