Difference between revisions of "JAuthorization/setCheckMode"
From Joomla! Documentation
< API15:JAuthorization
(New page: ===Description===
Sets the check mode.
<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: | ||
Sets the check mode. | Sets the check mode. | ||
− | |||
− | |||
− | |||
− | + | ||
+ | <! removed transcluded page call, red link never existed > | ||
===Syntax=== | ===Syntax=== | ||
Line 40: | Line 38: | ||
</source> | </source> | ||
− | + | ||
− | + | <! removed transcluded page call, red link never existed > | |
− | < | ||
− | |||
===Examples=== | ===Examples=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=setCheckMode | category=setCheckMode | ||
category=JAuthorization | category=JAuthorization | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
+ | [[Category:Archived pages API15]] |
Latest revision as of 19:19, 24 March 2017
The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Description[edit]
Sets the check mode.
<! removed transcluded page call, red link never existed >
Syntax[edit]
setCheckMode($value)
Parameter Name | Default Value | Description |
---|---|---|
$value | 0 = Joomla!, 1 = phpGACL native |
Returns[edit]
int The previous value
Defined in[edit]
libraries/joomla/user/authorization.php
Importing[edit]
jimport( 'joomla.user.authorization' );
Source Body[edit]
function setCheckMode( $value )
{
$old = $this->_checkMode;
$this->_checkMode = (int) $value;
return $old;
}
<! removed transcluded page call, red link never existed >
Examples[edit]
Code Examples[edit]