SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Models/ExtraPageModel.php

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