/** * Returns ids of all titles current user has added to watchlist. * * @return array */ public static function getUserLists($name = 'watchlist') { if ($user = self::loggedInUser()) { return User::fetchLists($user, $name); } }