====== __construct ====== {#JAPI Joomla.Framework Document JDocumentFeed::__construct #} JDocumentFeed class constructor. The constructor should be invoked via the [[references:joomla.framework:document:jdocument-getinstance|JDocument::getInstance()]] method. The constructor sets the document type to 'feed' and invokes the parent constructor. ===== Syntax ===== JDocumentFeed __construct ( **$options** ) | **$options** | array | is an associative array of configuration values for the JDocument class. Please see [[references:joomla.framework:document:jdocument|JDocument]] for more information. | ===== Examples ===== A JDocumentFeed object can be created using the following: $options = array( 'direction' => 'rtl' ); $feedDoc =& JDocument::getInstance( 'feed', $options ); ---- ~~DISCUSSION~~