Exemple #1
0
function mediashare_userapi_hasItemAccess($args)
{
    $mediaId = $args['mediaId'];
    $access = (int) $args['access'];
    $viewKey = $args['viewKey'];
    $accessApi = mediashareGetAccessAPI();
    return $accessApi->hasItemAccess($mediaId, $access, $viewKey);
}
Exemple #2
0
function mediashareAccessUserRealName()
{
    $accessApi = mediashareGetAccessAPI();
    return $accessApi->hasUserRealNameAccess();
}