Ejemplo n.º 1
0
 /**
  * Remove onLoadHandlers from all entities
  *
  * @param array $handlerIds of factory impl ids
  * @return GalleryStatus a status code
  */
 function removeOnLoadHandlers($handlerIds) {
 MyOOS_CoreApi::requireOnce(
     'modules/core/classes/helpers/GalleryEntityHelper_medium.class');
 return GalleryEntityHelper_medium::removeOnLoadHandlers($handlerIds);
 }
Ejemplo n.º 2
0
 /**
  * Get a list of entity members which are allowed to be shown / set by external systems (e.g.
  * via remote protocols like WebDAV, XML-RPC, etc).
  * This does not include any permission checking.
  * @param string $entityName name of the entity
  * @return array GalleryStatus a status code
  *               array(string memberName =>
  *                                array('read' => boolean true if it's ok to show,
  *                                      'write' => boolean true if it's ok to set))
  */
 function getExternalAccessMemberList($entityName)
 {
     MyOOS_CoreApi::requireOnce('modules/core/classes/helpers/GalleryEntityHelper_medium.class');
     return GalleryEntityHelper_medium::getExternalAccessMemberList($entityName);
 }