SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Models/PageHistoryItemModel.php

  1. <?php
  2. namespace Sprout\Models;
  3.  
  4. use Sprout\Helpers\Model;
  5.  
  6.  
  7. class PageHistoryItemModel extends Model
  8. {
  9. /** @var int */
  10. public $page_id;
  11.  
  12. /** @var string */
  13. public $modified_editor;
  14.  
  15. /** @var string */
  16. public $changes_made;
  17.  
  18. /** @var string|null */
  19. public $date_added;
  20.  
  21.  
  22. public static function getTableName(): string
  23. {
  24. return 'page_history_items';
  25. }
  26. }
  27.