LJ::can_view — Checks to see if the remote user can view a given journal entry. Note: This is meant for use on single entries at a time, not for calling many times on every entry in a journal.
LJ::can_view
(remote, item);
remote. Hashref of remote user containing \'user\' and \'userid\' keys if obtained from LJ::get_remote or just \'user\' if untrusted and obtained from LJ::get_remote_noauth.
item. Hashref from the 'log' table.
cgi-bin/ljlib.pl
boolean; 1 if remote user can see item