CategoryController uses Singleton
FinalYes
Table of Contents
Methods
- __wakeup() : mixed
- add() : AddResult
- delete() : Result
- get() : Category|null
- getInstance() : static
Methods
__wakeup()
public
__wakeup() : mixed
add()
public
add(string $code, string $moduleId, string $handlerClass[, int|null $sort = null ]) : AddResult
Parameters
- $code : string
- $moduleId : string
- $handlerClass : string
- $sort : int|null = null
Return values
AddResultdelete()
public
delete(string $moduleId, string $code) : Result
Parameters
- $moduleId : string
- $code : string
Return values
Resultget()
public
get(string $moduleId, string $code) : Category|null
Parameters
- $moduleId : string
- $code : string
Return values
Category|nullgetInstance()
public
static getInstance() : static