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
Afficher le fichier Open project: atk4/atk4 Class Usage Examples

Méthodes publiques

Свойство Type Description
$auth_config array
$layout Layout_Fluid
$layout_class string
$menu Menu_Advanced
$title string

Méthodes publiques

Méthode 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

Méthode Description
initAddon ( Controller_Addon $addon )
initAddons ( )
initSandbox ( )

Method Details

getInitiatedAddons() public méthode

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

getInstalledAddons() public méthode

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

init() public méthode

Initialization.
public init ( )

initLayout() public méthode

public initLayout ( )

initTopMenu() public méthode

public initTopMenu ( )

page_sandbox() public méthode

public page_sandbox ( $p ) : string
Résultat string

Property Details

$auth_config public_oe property

public array $auth_config
Résultat array

$layout public_oe property

public Layout_Fluid $layout
Résultat Layout_Fluid

$layout_class public_oe property

public string $layout_class
Résultat string

$menu public_oe property

public Menu_Advanced $menu
Résultat Menu_Advanced

$title public_oe property

public string $title
Résultat string