BookStack\Repos\BookRepo::getRecentlyViewed PHP Method

getRecentlyViewed() public method

Gets the most recently viewed for a user.
public getRecentlyViewed ( integer $count = 10, integer $page ) : mixed
$count integer
$page integer
return mixed
    public function getRecentlyViewed($count = 10, $page = 0)
    {
        return Views::getUserRecentlyViewed($count, $page, $this->book);
    }