PHP Class App_Admin, atk4

Exporting add-ons, database migration, test-suites and other add-ons have developed User Interface which can be simply "attached" to your application's admin. This is done through hooks in the Admin Class. It's also important that App_Admin relies on layout_fluid which makes it easier for add-ons to add menu items, sidebars and foot-bars.
Inheritance: extends App_Frontend
Mostrar archivo Open project: atk4/atk4 Class Usage Examples

Public Properties

Property Type Description
$auth_config array
$layout Layout_Fluid
$layout_class string
$menu Menu_Advanced
$title string

Public Methods

Method Description
getInitiatedAddons ( string $addon_api_name = null ) : AbstractObject | array
getInstalledAddons ( ) : array Return all registered in sandbox_addons.json addons sandbox/Controller_AddonsConfig_Reflection.
init ( ) Initialization.
initLayout ( )
initTopMenu ( )
page_sandbox ( $p ) : string

Private Methods

Method Description
initAddon ( Controller_Addon $addon )
initAddons ( )
initSandbox ( )

Method Details

getInitiatedAddons() public method

public getInitiatedAddons ( string $addon_api_name = null ) : AbstractObject | array
$addon_api_name string
return AbstractObject | array Addon object or array of objects

getInstalledAddons() public method

Return all registered in sandbox_addons.json addons sandbox/Controller_AddonsConfig_Reflection.
public getInstalledAddons ( ) : array
return array

init() public method

Initialization.
public init ( )

initLayout() public method

public initLayout ( )

initTopMenu() public method

public initTopMenu ( )

page_sandbox() public method

public page_sandbox ( $p ) : string
return string

Property Details

$auth_config public_oe property

public array $auth_config
return array

$layout public_oe property

public Layout_Fluid $layout
return Layout_Fluid

$layout_class public_oe property

public string $layout_class
return string

$menu public_oe property

public Menu_Advanced $menu
return Menu_Advanced

$title public_oe property

public string $title
return string