protected function isPageFirstTime($currPage = '')
    {
        if (trim($currPage) == '') {
            $currPage = $this->v["currPage"][0];
        }
        $chk = SLUsersActivity::where('UserActUser', Auth::user()->id)
            ->where('UserActCurrPage', 'LIKE', '%'.$currPage)
            ->get();
        if ($chk->isNotEmpty()) {
            return false;
        }
        return true;
    }
protected function isPageFirstTime($currPage = '')
    {
        if (trim($currPage) == '') {
            $currPage = $this->v["currPage"][0];
        }
        $chk = SLUsersActivity::where('UserActUser', Auth::user()->id)
            ->where('UserActCurrPage', 'LIKE', '%'.$currPage)
            ->get();
        if ($chk->isNotEmpty()) {
            return false;
        }
        return true;
    }
protected function isPageFirstTime ( $ currPage = '' ) { if ( trim ( $ currPage ) == '' ) { $ currPage = $ this -> v [ "currPage" ] [ 0 ] ; } $ chk = SLUsersActivity :: where ( 'UserActUser' , Auth :: user ( ) -> id ) -> where ( 'UserActCurrPage' , 'LIKE' , '%' . $ currPage ) -> get ( ) ; if ( $ chk -> isNotEmpty ( ) ) { return false ; } return true ; }
Is this the first time this user has visited the current page?
Is this the first time this user has visited the current page?