Mixin_Security_Entity_List

The NextGEN Gallery Mixin Security Entity List class.

Defined (1)

The class is defined in the following location(s).

/products/photocrati_nextgen/modules/security/package.module.security.php  
  1. class Mixin_Security_Entity_List extends Mixin 
  2. var $_entity_list; 
  3. function add_entity($entity, $entity_props = null) 
  4. if (!$this->object->is_entity($entity)) { 
  5. $entity_props = array_merge((array) $entity_props, array('object' => $entity)); 
  6. $this->object->_entity_list[] = $entity_props; 
  7. function remove_entity($entity) 
  8. if ($this->object->is_entity($entity)) { 
  9. function is_entity($entity) 
  10. return $this->object->get_entity_set($entity); 
  11. function get_entity_set($entity) 
  12. foreach ($this->_entity_list as $entity_set) { 
  13. function get_entity_id($entity) 
  14. function get_entity_type($entity)