ElementCollectionManager.php 498B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Muzich\CoreBundle\lib\Collection;
  3. class ElementCollectionManager extends CollectionManager
  4. {
  5. const ATTRIBUTE_ID = 'Id';
  6. const ATTRIBUTE_NAME = 'Name';
  7. const ATTRIBUTE_TYPE = 'Type';
  8. const ATTRIBUTE_PRIVATE = 'Private';
  9. protected $allow_duplicates = true;
  10. protected $schema = array(
  11. self::ATTRIBUTE_ID,
  12. self::ATTRIBUTE_NAME,
  13. self::ATTRIBUTE_TYPE,
  14. self::ATTRIBUTE_PRIVATE
  15. );
  16. protected $object_reference_attribute = self::ATTRIBUTE_ID;
  17. }