Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Introduction

A panel consist of three distinct files, each containing a class:

  • Controller
  • Views
  • Actions

Panels are stored inside innomatic/domain folder, each one inside its own sub-folder called “<panelname>-panel”.

e.g. for a panel called Basic you will have:

domain/basic-panel/BasicPanelActions.php
domain/basic-panel/BasicPanelController.php
domain/basic-panel/BasicPanelViews.php

Panel definition

Panels are declared in application.xml with the rootpanel and domainpanel components, e.g.: 

<domainpanel name="basicapp” catalog="example-basic-app::misc" category="examples" />

In the example, “category” stands for the panel group.

 

  • No labels