SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Models/PageRevisionModel.php

  1. <?php
  2. namespace Sprout\Models;
  3.  
  4. use Sprout\Helpers\Model;
  5.  
  6.  
  7. class PageRevisionModel extends Model
  8. {
  9. /** @var int */
  10. public $page_id;
  11.  
  12. /** @var string|null */
  13. public $type;
  14.  
  15. /** @var string */
  16. public $controller_entrance;
  17.  
  18. /** @var string */
  19. public $controller_argument;
  20.  
  21. /** @var string */
  22. public $redirect;
  23.  
  24. /** @var string */
  25. public $modified_editor;
  26.  
  27. /** @var string */
  28. public $status;
  29.  
  30. /** @var string */
  31. public $changes_made;
  32.  
  33. /** @var int */
  34. public $operator_id;
  35.  
  36. /** @var int */
  37. public $approval_operator_id;
  38.  
  39. /** @var string */
  40. public $approval_code;
  41.  
  42. /** @var string */
  43. public $date_launch;
  44.  
  45. /** @var string */
  46. public $date_added;
  47.  
  48. /** @var string */
  49. public $date_modified;
  50.  
  51.  
  52. public static function getTableName(): string
  53. {
  54. return 'page_revisions';
  55. }
  56. }
  57.