public function getAuthorisedGroups()
	{
		if (is_null($this->authGroups))
		{
			$this->authGroups = array();
		}

		if (empty($this->authGroups))
		{
			$this->authGroups = Access::getGroupsByUser($this->get('id'));
		}

		return $this->authGroups;
	}
public function getAuthorisedGroups()
	{
		if (is_null($this->authGroups))
		{
			$this->authGroups = array();
		}

		if (empty($this->authGroups))
		{
			$this->authGroups = Access::getGroupsByUser($this->get('id'));
		}

		return $this->authGroups;
	}
public function getAuthorisedGroups ( ) { if ( is_null ( $ this -> authGroups ) ) { $ this -> authGroups = array ( ) ; } if ( empty ( $ this -> authGroups ) ) { $ this -> authGroups = Access :: getGroupsByUser ( $ this -> get ( 'id' ) ) ; } return $ this -> authGroups ; }
Gets an array of the authorised user groups

@return  array
@since   2.1.0
Gets an array of the authorised user groups