PHP Класс app\models\Image

Наследование: extends Markzero\Mvc\AppModel
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$fillable array The attributes that are mass assignable.
$hidden array The attributes excluded from the model's JSON form.
$table string The table associated with the model.

Открытые методы

Метод Описание
category ( ) Get the category that owns the news.
user ( ) : BelongsToMany The one-to-many relationship between image and users.

Описание методов

category() публичный Метод

The one-to-one relationship between news and category.
public category ( )

user() публичный Метод

The one-to-many relationship between image and users.
public user ( ) : BelongsToMany
Результат BelongsToMany

Описание свойств

$fillable защищенное свойство

The attributes that are mass assignable.
protected array $fillable
Результат array

$hidden защищенное свойство

The attributes excluded from the model's JSON form.
protected array $hidden
Результат array

$table защищенное свойство

The table associated with the model.
protected string $table
Результат string