abstract class Model extends Model implements TaggableInterface (View source)

Traits

SoftDeletes
TaggableTrait

Properties

protected $presenterInstance from  HasPresenter
$timestamps

Methods

object
present(string $presenter = 'presenter')

No description

object
presentAdmin()

No description

$this
setPresenter(string $presenter, string $presenterProperty = 'presenter')

No description

$this
setPresenterAdmin(string $presenter)

No description

bool
isTranslatable(array|string|null $columns = null)

Checks if this model is translatable.

getAutoloader()

No description

getCapsuleList()

No description

getCapsuleByModel($model)

No description

getCapsuleByModule($module)

No description

Repository|Application|mixed
getCapsulesPath()

No description

Repository|Application|mixed
getCapsulesSubdir()

No description

makeCapsule($capsule, $basePath = null)

No description

registerPsr4Autoloader($capsule)

No description

capsuleRootPath($capsule)

No description

getCapsuleRepositoryClass($model)

No description

getCapsuleTranslationClass($model)

No description

getCapsuleSlugClass($model)

No description

getCapsuleRevisionClass($model)

No description

getCapsuleFormRequestClass($model)

No description

getCapsuleViewPrefix($capsule)

No description

namespaceToPath($capsule, $namespace)

No description

capsuleNamespaceToPath($namespace, $capsuleNamespace, $rootPath)

No description

getManager()

No description

seedCapsules($illuminateSeeder)

No description

makeCapsuleSeeder($capsule)

No description

capsuleExists($module)

No description

capsule($string)

No description

getCapsuleByPath($path)

No description

getCapsuleByClass($class)

No description

loadCapsuleConfig($capsule)

No description

autoloadConfigFiles($capsule)

No description

isTranslationModel()

No description

scopePublished($query)

No description

scopePublishedInListings($query)

No description

scopeVisible($query)

No description

setPublishStartDateAttribute($value)

No description

scopeDraft($query)

No description

scopeOnlyTrashed($query)

No description

getFillable()

No description

getTranslatedAttributes()

No description

static 
bootTaggableTrait()

No description

MorphToMany
tags()

{@inheritdoc}

Details

object present(string $presenter = 'presenter')

No description

Parameters

string $presenter

Return Value

object

object presentAdmin()

No description

Return Value

object

$this setPresenter(string $presenter, string $presenterProperty = 'presenter')

No description

Parameters

string $presenter
string $presenterProperty

Return Value

$this

$this setPresenterAdmin(string $presenter)

No description

Parameters

string $presenter

Return Value

$this

bool isTranslatable(array|string|null $columns = null)

Checks if this model is translatable.

Parameters

array|string|null $columns

Optionally limit the check to a set of columns.

Return Value

bool

protected getAutoloader()

No description

getCapsuleList()

No description

getCapsuleByModel($model)

No description

Parameters

$model

getCapsuleByModule($module)

No description

Parameters

$module

Repository|Application|mixed getCapsulesPath()

No description

Return Value

Repository|Application|mixed

Repository|Application|mixed getCapsulesSubdir()

No description

Return Value

Repository|Application|mixed

makeCapsule($capsule, $basePath = null)

No description

Parameters

$capsule
$basePath

registerPsr4Autoloader($capsule)

No description

Parameters

$capsule

capsuleRootPath($capsule)

No description

Parameters

$capsule

getCapsuleRepositoryClass($model)

No description

Parameters

$model

getCapsuleTranslationClass($model)

No description

Parameters

$model

getCapsuleSlugClass($model)

No description

Parameters

$model

getCapsuleRevisionClass($model)

No description

Parameters

$model

getCapsuleFormRequestClass($model)

No description

Parameters

$model

getCapsuleViewPrefix($capsule)

No description

Parameters

$capsule

namespaceToPath($capsule, $namespace)

No description

Parameters

$capsule
$namespace

capsuleNamespaceToPath($namespace, $capsuleNamespace, $rootPath)

No description

Parameters

$namespace
$capsuleNamespace
$rootPath

getManager()

No description

seedCapsules($illuminateSeeder)

No description

Parameters

$illuminateSeeder

makeCapsuleSeeder($capsule)

No description

Parameters

$capsule

capsuleExists($module)

No description

Parameters

$module

capsule($string)

No description

Parameters

$string

getCapsuleByPath($path)

No description

Parameters

$path

getCapsuleByClass($class)

No description

Parameters

$class

loadCapsuleConfig($capsule)

No description

Parameters

$capsule

autoloadConfigFiles($capsule)

No description

Parameters

$capsule

protected isTranslationModel()

No description

scopePublished($query)

No description

Parameters

$query

scopePublishedInListings($query)

No description

Parameters

$query

scopeVisible($query)

No description

Parameters

$query

setPublishStartDateAttribute($value)

No description

Parameters

$value

scopeDraft($query)

No description

Parameters

$query

scopeOnlyTrashed($query)

No description

Parameters

$query

getFillable()

No description

getTranslatedAttributes()

No description

static protected bootTaggableTrait()

No description

MorphToMany tags()

{@inheritdoc}

Return Value

MorphToMany