classes/BannerHelper.php
protected function checkSetUserFrontendLogin()
	{
		if (FE_USER_LOGGED_IN)
		{
		    $this->import('FrontendUser', 'User');
		    
		    if ( $this->arrCategoryValues['banner_protected'] == 1 
		      && $this->arrCategoryValues['banner_group']      > 0 ) 
		    {
		    	if ( $this->User->isMemberOf($this->arrCategoryValues['banner_group']) === false ) 
		    	{
		    		$this->statusBannerFrontendGroupView = false;
		    		return false;
		    	}
		    }
		}
		return true;
	}
protected function checkSetUserFrontendLogin()
	{
		if (FE_USER_LOGGED_IN)
		{
		    $this->import('FrontendUser', 'User');
		    
		    if ( $this->arrCategoryValues['banner_protected'] == 1 
		      && $this->arrCategoryValues['banner_group']      > 0 ) 
		    {
		    	if ( $this->User->isMemberOf($this->arrCategoryValues['banner_group']) === false ) 
		    	{
		    		$this->statusBannerFrontendGroupView = false;
		    		return false;
		    	}
		    }
		}
		return true;
	}
protected function checkSetUserFrontendLogin ( ) { if ( FE_USER_LOGGED_IN ) { $ this -> import ( 'FrontendUser' , 'User' ) ; if ( $ this -> arrCategoryValues [ 'banner_protected' ] == 1 && $ this -> arrCategoryValues [ 'banner_group' ] > 0 ) { if ( $ this -> User -> isMemberOf ( $ this -> arrCategoryValues [ 'banner_group' ] ) === false ) { $ this -> statusBannerFrontendGroupView = false ; return false ; } } } return true ; }
Check if FE User loggen in and banner category is protected

@return boolean    true = View allowed | false = View not allowed
Check if FE User loggen in and banner category is protected