CpController
class CpController extends DevelopController
开发平台控制台 cp = ControlPanel
Traits
Properties
static string | $permission | from Controller | |
protected int | $pagesize | pagesize | from Controller |
protected string | $ip | ip | from Controller |
protected Carbon | $now | now | from Controller |
protected string | $route | route | from Controller |
protected string | $title | title | from Controller |
Methods
View
view(string $template, array $data = [], array $mergeData = [])
Share variable with view.
from
ViewTrait
index()
开发者控制台
Details
in
DevelopController at line 20
__construct()
Controller constructor.
in
Controller at line 67
protected
withViews()
No description
in
Controller at line 92
protected
seo(mixed ...$args)
seo
in
ViewTrait at line 20
protected
share(string|array $key, null $value = null)
Share variable with view.
in
ViewTrait at line 35
protected View
view(string $template, array $data = [], array $mergeData = [])
Share variable with view.
in
CoreTrait at line 14
ModuleManager
coreModule()
获取核心的模块
in
CoreTrait at line 23
PermissionManager
corePermission()
权限管理
in
DevelopController at line 30
protected Authenticatable|null|PamAccount
pam()
返回用户信息
at line 13
index()
开发者控制台