MetaFox

BgsBackground extends Model
in package
implements Entity, HasThumbnail Uses HasEntity, HasFactory, HasThumbnailTrait

Class BgsBackground.

Table of Contents

Interfaces

Entity
Interface Entity.
HasThumbnail
Interface HasThumbnail.

Constants

ENTITY_TYPE  = 'pstatusbg_background'
IS_DELETED  = 1

Properties

$bgsCollection  : BgsCollection
$collection_id  : int
$created_at  : string
$id  : int
$image_file_id  : mixed
$image_path  : string
$images  : array<int|string, mixed>|null
$is_deleted  : int
$ordering  : int
$server_id  : string
$timestamps  : mixed
$view_only  : int
$fillable  : array<string|int, string>
$table  : mixed

Methods

bgsCollection()  : BelongsTo
entityId()  : int
entityType()  : string
factory()  : BgsBackgroundFactory
getImageAttribute()  : string|null
getImagesAttribute()  : array<string|int, mixed>|null
getSizes()  : array<string|int, int>
getThumbnail()  : string|null
moduleName()  : string
newFactory()  : BgsBackgroundFactory

Constants

ENTITY_TYPE

public mixed ENTITY_TYPE = 'pstatusbg_background'

Properties

$fillable

protected array<string|int, string> $fillable = ['collection_id', 'image_path', 'server_id', 'is_deleted', 'ordering', 'view_only', 'image_file_id']

Methods

bgsCollection()

public bgsCollection() : BelongsTo
Return values
BelongsTo

entityId()

public entityId() : int
Return values
int

entityType()

public entityType() : string
Return values
string

factory()

public static factory(mixed $parameters) : BgsBackgroundFactory
Parameters
$parameters : mixed
Return values
BgsBackgroundFactory

getImageAttribute()

public getImageAttribute() : string|null
Return values
string|null

getImagesAttribute()

public getImagesAttribute() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

getSizes()

public getSizes() : array<string|int, int>
Return values
array<string|int, int>

getThumbnail()

public getThumbnail() : string|null
Return values
string|null

moduleName()

public moduleName() : string
Return values
string

newFactory()

protected static newFactory() : BgsBackgroundFactory
Return values
BgsBackgroundFactory

        
On this page

Search results