Class yeesoft\page\PageModule

Inheritanceyeesoft\page\PageModule » yii\base\Module

Page Module For Yee CMS

Public Methods

Hide inherited methods

MethodDescriptionDefined By
init() Default views and layouts Add more views and layouts in your main config file by calling the module yeesoft\page\PageModule

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
VERSION '0.1.0' Version number of the module. yeesoft\page\PageModule

Property Details

$controllerNamespace public property
public $controllerNamespace 'yeesoft\page\controllers'
$layoutList public property
public $layoutList null
$viewList public property
public $viewList null

Method Details

init() public method

Default views and layouts Add more views and layouts in your main config file by calling the module

Example:

'page' => [

  'class' => 'yeesoft\page\PageModule',
  'viewList' => [
      'page' => 'View Label 1',
      'page_test' => 'View Label 2',
  ],
  'layoutList' => [
      'main' => 'Layout Label 1',
      'dark_layout' => 'Layout Label 2',
  ],

],

public void init ( )