AttachmentFileType
extends Model
in package
implements
Entity
Uses
HasEntity, HasFactory
Class AttachmentFileType.
Table of Contents
Interfaces
- Entity
- Interface Entity.
Constants
- ENTITY_TYPE = 'core_attachment_file_type'
Properties
- $extension : string
- $id : int
- $is_active : int
- $mime_type : string
- $timestamps : mixed
- $fillable : array<string|int, string>
- $table : mixed
Methods
- entityId() : int
- entityType() : string
- factory() : AttachmentFileTypeFactory
- getAdminBrowseUrlAttribute() : string
- moduleName() : string
- booted() : void
- The "booted" method of the model.
- newFactory() : AttachmentFileTypeFactory
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'core_attachment_file_type'
Properties
$extension
public
string
$extension
$id
public
int
$id
$is_active
public
int
$is_active
$mime_type
public
string
$mime_type
$timestamps
public
mixed
$timestamps
= false
$fillable
protected
array<string|int, string>
$fillable
= ['extension', 'mime_type', 'is_active']
$table
protected
mixed
$table
= 'core_attachment_file_types'
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringfactory()
public
static factory(mixed $parameters) : AttachmentFileTypeFactory
Parameters
- $parameters : mixed
Return values
AttachmentFileTypeFactorygetAdminBrowseUrlAttribute()
public
getAdminBrowseUrlAttribute() : string
Return values
stringmoduleName()
public
moduleName() : string
Return values
stringbooted()
The "booted" method of the model.
protected
static booted() : void
Tags
newFactory()
protected
static newFactory() : AttachmentFileTypeFactory