MetaFox

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

Class Sticker.

Tags
mixin

Builder

Table of Contents

Interfaces

Entity
Interface Entity.
HasThumbnail
Interface HasThumbnail.

Constants

ENTITY_TYPE  = 'sticker'
IS_DELETED  = 1
IS_VIEW_ONLY  = 1

Properties

$id  : int
$image_file_id  : string
$image_path  : string
$images  : array<int|string, mixed>
$is_deleted  : int
$ordering  : int
$set_id  : int
$stickerSet  : StickerSet
$thumbnail_file_id  : int
$thumbs  : array<int|string, mixed>
$timestamps  : mixed
$view_only  : int
$fillable  : array<string|int, string>
$table  : mixed

Methods

entityId()  : int
entityType()  : string
factory()  : StickerFactory
getImageAttribute()  : string|null
getImagesAttribute()  : array<string|int, mixed>|null
getSizes()  : array<string|int, int>
getThumbnail()  : string|null
getThumbnailFile()  : int|null
getThumbsAttribute()  : array<string|int, mixed>|null
moduleName()  : string
stickerSet()  : BelongsTo
newFactory()  : StickerFactory

Constants

ENTITY_TYPE

public mixed ENTITY_TYPE = 'sticker'

IS_DELETED

public mixed IS_DELETED = 1

IS_VIEW_ONLY

public mixed IS_VIEW_ONLY = 1

Properties

$image_file_id

public string $image_file_id

$image_path

public string $image_path

$images

public array<int|string, mixed> $images

$thumbnail_file_id

public int $thumbnail_file_id

$thumbs

public array<int|string, mixed> $thumbs

$timestamps

public mixed $timestamps = false

$fillable

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

$table

protected mixed $table = 'stickers'

Methods

entityId()

public entityId() : int
Return values
int

entityType()

public entityType() : string
Return values
string

factory()

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

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

getThumbnailFile()

public getThumbnailFile() : int|null
Return values
int|null

getThumbsAttribute()

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

moduleName()

public moduleName() : string
Return values
string

stickerSet()

public stickerSet() : BelongsTo
Return values
BelongsTo

newFactory()

protected static newFactory() : StickerFactory
Return values
StickerFactory

        
On this page

Search results