PHP 클래스 app\models\AlbumPhoto

상속: extends Illuminate\Database\Eloquent\Model, use trait Illuminate\Database\Eloquent\SoftDeletes
파일 보기 프로젝트 열기: qloog/laravel5-backend 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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.

공개 메소드들

메소드 설명
album ( ) : BelongsTo 所属相册
user ( ) : BelongsToMany The one-to-many relationship between image and users.

메소드 상세

album() 공개 메소드

所属相册
public album ( ) : BelongsTo
리턴 Illuminate\Database\Eloquent\Relations\BelongsTo

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