MetaFox

TypeManagerInterface
in

Table of Contents

Methods

getTypePhrase()  : string|null
hasFeature()  : bool
hasSetting()  : bool
isActive()  : bool
makeType()  : mixed|false
Create or update an item type.
refresh()  : void
Refresh cache.

Methods

getTypePhrase()

public getTypePhrase(string $type) : string|null
Parameters
$type : string
Return values
string|null

hasFeature()

public hasFeature(string $type, string $feature) : bool
Parameters
$type : string
$feature : string
Return values
bool

hasSetting()

public hasSetting(string $type, string $feature) : bool
Parameters
$type : string
$feature : string
Return values
bool

isActive()

public isActive(string $type) : bool
Parameters
$type : string
Return values
bool

makeType()

Create or update an item type.

public makeType(array<string, mixed> $data) : mixed|false

Note: this method won't purge cache. Please purge cache manually.

Parameters
$data : array<string, mixed>
Return values
mixed|false

        
On this page

Search results