PHP Class app\models\AlbumPhoto

Inheritance: extends Illuminate\Database\Eloquent\Model, use trait Illuminate\Database\Eloquent\SoftDeletes
Afficher le fichier Open project: qloog/laravel5-backend Class Usage Examples

Protected Properties

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
album ( ) : BelongsTo 所属相册
user ( ) : BelongsToMany The one-to-many relationship between image and users.

Method Details

album() public méthode

所属相册
public album ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

user() public méthode

The one-to-many relationship between image and users.
public user ( ) : BelongsToMany
Résultat BelongsToMany

Property Details

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
Résultat array

$hidden protected_oe property

The attributes excluded from the model's JSON form.
protected array $hidden
Résultat array

$table protected_oe property

The table associated with the model.
protected string $table
Résultat string