Cnst.php 777 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * This file is part of the ForkBB <https://github.com/forkbb>.
  4. *
  5. * @copyright (c) Visman <mio.visman@yandex.ru, https://github.com/MioVisman>
  6. * @license The MIT License (MIT)
  7. */
  8. declare(strict_types=1);
  9. namespace ForkBB\Models\PM;
  10. class Cnst
  11. {
  12. const ACTION_NEW = 'new';
  13. const ACTION_CURRENT = 'current';
  14. const ACTION_ARCHIVE = 'archive';
  15. const ACTION_SEND = 'send';
  16. const ACTION_TOPIC = 'topic';
  17. const ACTION_DELETE = 'delete';
  18. const ACTION_EDIT = 'edit';
  19. const ACTION_BLOCK = 'block';
  20. const ACTION_CONFIG = 'config';
  21. const ACTION_POST = 'post';
  22. const PT_DELETED = 0;
  23. const PT_NOTSENT = 1;
  24. const PT_NORMAL = 2;
  25. const PT_ARCHIVE = 3;
  26. const PTOPIC = 0;
  27. const PPOST = 1;
  28. }