Class ClientController
Client Parent Controller
- AppController
- ClientController
Direct known subclasses
ClientAccounts, ClientContacts, ClientDialog, ClientEmails, ClientInvoices, ClientMain, ClientServices, ClientTransactions
Package: blesta\app
Copyright: Copyright (c) 2019, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at app/client_controller.php
Copyright: Copyright (c) 2019, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at app/client_controller.php
public
|
|
protected
boolean
|
#
isStaffAsClient( )
Checks whether the current user is a staff user and whether the user is currently logged into the client portal. |
protected
|
#
setNav( )
Sets the primary and secondary navigation links. Performs authorization checks on each navigational element. May cache nav results if possible for better performance. |
protected
|
|
protected
|
|
protected
boolean
|
|
protected
boolean
|
#
authorized( string $controller = null, string $action = null,
Verifies that the currently logged in user is authorized for the given Controller and Action (or current Controller/Action if none given). Will first check whether the Controller and Action is a permission value, and if so, checks to ensure the staff or client group user is authorized to access that resource |