SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Models/MenuExtraModel.php

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