SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Models/MenuGroupModel.php

  1. <?php
  2. namespace Sprout\Models;
  3.  
  4. use Sprout\Helpers\Model;
  5.  
  6.  
  7. class MenuGroupModel extends Model
  8. {
  9. /** @var int */
  10. public $subsite_id;
  11.  
  12. /** @var int */
  13. public $page_id;
  14.  
  15. /** @var int */
  16. public $position;
  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 'menu_groups';
  28. }
  29. }
  30.