Initial commit

Couldnt keep the history unfortunately.
This commit is contained in:
Riyyi
2021-03-03 17:55:48 +01:00
commit a8056b66cc
67 changed files with 7759 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
namespace App\Model;
use App\Traits\Log;
class SectionModel extends Model {
use Log;
protected $table = 'section';
protected $sort = 'order';
// Attribute rules
// Name | Type | Required | Filtered
public $rules = [
["section", "text", 1, 0],
["title", "text", 0, 0],
["order", "text", 1, 0],
["hide_navigation", "checkbox", 1, 0],
["active", "checkbox", 1, 0],
["log_id", "text", 1, 1],
];
}