JView/setEscape: Difference between revisions
From Joomla! Documentation
m removing red link to edit, no existant pages |
m preparing for archive only |
||
| Line 41: | Line 41: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=setEscape | category=setEscape | ||
category=JView | category=JView | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 01:16, 25 March 2017
Description
Sets the _escape() callback.
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
setEscape($spec)
| Parameter Name | Default Value | Description |
|---|---|---|
| $spec | $spec The callback for _escape() to use. |
Defined in
libraries/joomla/application/component/view.php
Importing
jimport( 'joomla.application.component.view' );
Source Body
function setEscape($spec)
{
$this->_escape = $spec;
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples