/**
  * Look up an item's access list.
  *
  * @param int $itemId the id of the source item
  * @return array GalleryStatus a status code,
  *               int accessListId the associated item's list
  */
 function fetchAccessListId($itemId) {
 MyOOS_CoreApi::requireOnce(
     'modules/core/classes/helpers/GalleryPermissionHelper_advanced.class');
 return GalleryPermissionHelper_advanced::fetchAccessListId($itemId);
 }
 /**
  * Unregister all permission associated with a given module.
  *
  * @return GalleryStatus a status code
  */
 function unregisterModulePermissions($moduleId)
 {
     MyOOS_CoreApi::requireOnce('modules/core/classes/helpers/GalleryPermissionHelper_advanced.class');
     return GalleryPermissionHelper_advanced::unregisterModulePermissions($moduleId);
 }