JDocumentFeed/ construct: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Class constructor
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</... |
m preparing for archive only |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
Class constructor | Class constructor | ||
<! removed transcluded page call, red link never existed > | |||
===Syntax=== | ===Syntax=== | ||
| Line 38: | Line 36: | ||
</source> | </source> | ||
<! removed transcluded page call, red link never existed > | |||
< | |||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=__construct | category=__construct | ||
category=JDocumentFeed | category=JDocumentFeed | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
[[Category:Archived pages API16]] | |||
Latest revision as of 01:32, 25 March 2017
Description
Class constructor
<! removed transcluded page call, red link never existed >
Syntax
__construct($options=array())
| Parameter Name | Default Value | Description |
|---|---|---|
| $options | array() | $options Associative array of options |
Defined in
libraries/joomla/document/feed/feed.php
Importing
jimport( 'joomla.document.feed.feed' );
Source Body
function __construct($options = array())
{
parent::__construct($options);
//set document type
$this->_type = 'feed';
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples