Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Commit

Permalink
Added JApplicationBase::getIdentity to retrieve the application
Browse files Browse the repository at this point in the history
identity.
  • Loading branch information
robschley committed Apr 3, 2012
1 parent 18c5dbb commit 37dcb01
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions libraries/joomla/application/base.php
Expand Up @@ -59,6 +59,18 @@ public function close($code = 0)
exit($code);
}

/**
* Get the application identity.
*
* @return mixed A JUser object or null.
*
* @since 12.1
*/
public function getIdentity()
{
return $this->identity;
}

/**
* Registers a handler to a particular event group.
*
Expand Down

0 comments on commit 37dcb01

Please sign in to comment.