Constructor & Destructor Documentation
Constructor We could use 'extends' and build the registry object up but we need to use the output handler attached to the registry to save spawning new handlers for 'output' which will have different variables saved in navigation, addToHead, etc
public
- Parameters:
-
- Returns:
- void
Reimplemented in htmlOutput, and xmlOutput.
Member Function Documentation
Add Canonical Tag $output->addCanonicalTag( 'showtopic=xx', 'my-test-topic', 'showtopic' );
public
- Parameters:
-
| string | URL bit (showtopic=x) |
| string | SEO Title (my-test-topic) |
| string | SEO Template (showtopic) |
- Returns:
- void
Add CSS files
public
- Parameters:
-
| string | inline or import |
| string | Data to add |
- Returns:
- void
| addMetaTag |
( |
$ |
tag, |
|
|
$ |
content, |
|
|
$ |
encode = true, |
|
|
$ |
trimLen = 500 |
|
) |
| |
Add items into the document head Simple redirect function
protected
- Parameters:
-
| string | Type of head item |
| mixed | Data |
- Returns:
- null
Fetch navigation tabs
- Returns:
- array
initiate Function to do global stuff
- Returns:
- void
Set output type
- Parameters:
-
- Returns:
- void
Encodes meta tag content so its safe for readers, etc
- Parameters:
-
| string | $content | Meta tag content |
- Returns:
- string
Set forced download mode
protected
- Parameters:
-
Fetch Canonical Tag
- Returns:
- mixed String if an url is availble otherwise FALSE
Retrieve meta tags
$output->getMetaTags( 'description' ); $output->getMetaTags();
- Parameters:
-
| string | $tag | Tag name (optional) |
- Returns:
- mixed Array of meta tags, or meta tag specified if tag name is supplied
Set the cache expiration in seconds
public
- Parameters:
-
| int | Seconds to expire (60 == 1 minute, etc) |
Set the header code
public
- Parameters:
-
| int | Header code (200/301, etc) |
| string | [Optional status if omitted, the function will best guess] |
The documentation for this class was generated from the following file:
- admin/sources/classes/output/formats/coreOutput.php