API17:JFilterInput::checkAttribute
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JFilterInput::checkAttribute== | =={{JVer|11.1}} JFilterInput::checkAttribute== | ||
===Description=== | ===Description=== | ||
| − | Function to determine if contents of an attribute | + | Function to determine if contents of an attribute are safe. |
{{Description:JFilterInput::checkAttribute}} | {{Description:JFilterInput::checkAttribute}} | ||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JFilterInput::checkAttribute|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JFilterInput::checkAttribute|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function checkAttribute ($attrSubSet) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 24: | Line 21: | ||
|array | |array | ||
| | | | ||
| − | |A 2 element array for | + | |A 2 element array for attribute's name, value |
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' boolean True if bad code is detected | |
| − | boolean True if bad code is detected | + | * '''Defined''' on line 280 of libraries/joomla/filter/filterinput.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/filter/filterinput.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JFilterInput::checkAttribute source code''' on [[jplatform:filter/filterinput.php#cl-272|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JFilterInput/11.1|JFilterInput]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Filter/11.1|Filter]] | ||
| + | * [[JFilterInput::checkAttribute|Other versions of JFilterInput::checkAttribute]] | ||
| + | {{SeeAlso:JFilterInput::checkAttribute}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JFilterInput::checkAttribute|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JFilterInput::checkAttribute|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 47: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JFilterInput]][[Category:JFilterInput::checkAttribute]]</noinclude> | <noinclude>[[Category:JFilterInput]][[Category:JFilterInput::checkAttribute]]</noinclude> | ||
Revision as of 20:57, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JFilterInput::checkAttribute
Description
Function to determine if contents of an attribute are safe.
Description:JFilterInput::checkAttribute [Edit Descripton]
public static function checkAttribute ($attrSubSet)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $attrSubSet | array | A 2 element array for attribute's name, value |
- Returns boolean True if bad code is detected
- Defined on line 280 of libraries/joomla/filter/filterinput.php
- Since
See also
-
JFilterInput::checkAttribute source code on BitBucket
-
Class JFilterInput
-
Subpackage Filter
- Other versions of JFilterInput::checkAttribute
SeeAlso:JFilterInput::checkAttribute [Edit See Also]
User contributed notes
<CodeExamplesForm />
