Category.php 922 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * Copyright © 2015 Ihor Vansach (ihor@magefan.com). All rights reserved.
  4. * See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php).
  5. *
  6. * Glory to Ukraine! Glory to the heroes!
  7. */
  8. namespace Magefan\Blog\Controller\Adminhtml;
  9. /**
  10. * Admin blog category edit controller
  11. */
  12. class Category extends Actions
  13. {
  14. /**
  15. * Form session key
  16. * @var string
  17. */
  18. protected $_formSessionKey = 'blog_category_form_data';
  19. /**
  20. * Allowed Key
  21. * @var string
  22. */
  23. protected $_allowedKey = 'Magefan_Blog::category';
  24. /**
  25. * Model class name
  26. * @var string
  27. */
  28. protected $_modelClass = 'Magefan\Blog\Model\Category';
  29. /**
  30. * Active menu key
  31. * @var string
  32. */
  33. protected $_activeMenu = 'Magefan_Blog::category';
  34. /**
  35. * Status field name
  36. * @var string
  37. */
  38. protected $_statusField = 'is_active';
  39. }