object_manager.rb 428 B

1234567891011121314151617181920212223242526272829
  1. # Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
  2. class ObjectManager
  3. =begin
  4. list all backend managed object
  5. ObjectManager.list_objects
  6. =end
  7. def self.list_objects
  8. %w(Ticket TicketArticle User Organization Group)
  9. end
  10. =begin
  11. list all frontend managed object
  12. ObjectManager.list_frontend_objects
  13. =end
  14. def self.list_frontend_objects
  15. %w(Ticket User Organization Group)
  16. end
  17. end