JAuthorization/setCheckMode
From Joomla! Documentation
< API15:JAuthorization
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]