SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Models/PageAtrributesModel.php

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