StructureHeading
class StructureHeading extends Model (View source)
Traits
Methods for models that can be a part of the forum "structure", like channels, pages, links, and headings.
Methods for models that have validation rules.
Properties
static protected | $unguarded | from Model | |
Structure read-only | $structure | from Structurable | |
$timestamps | |||
int | $id | ||
string | $name | ||
string read-only | $edit_url |
Methods
MorphOne
structure()
Relationship with the node for this model within the forum structure.
from
Structurable
static array
validate(array $data, ValidatesData $instance = null)
Validate an array of data against the model's validation rules.
from
ValidatesData
static array
static array
from
ValidatesData
static array
customAttributes(ValidatesData $instance = null)
The model's validation custom attribute translations.
from
ValidatesData
Attribute
editUrl()
No description
Details
in
Model at line 18
getConnectionName()
No description
static void
bootStructurable()
No description
MorphOne
structure()
Relationship with the node for this model within the forum structure.
static array
validate(array $data, ValidatesData $instance = null)
Validate an array of data against the model's validation rules.
static array
rules(StructureHeading $instance = null)
No description
static protected array
messages(ValidatesData $instance = null)
The model's validation messages.
static protected array
customAttributes(ValidatesData $instance = null)
The model's validation custom attribute translations.
protected Attribute
editUrl()
No description