2017 © Pedro Peláez
 

yii2-extension yii2-frontend-controller

A special controller for your frontend department that allows for easy access to any view/layout combination without going through their respective controllers (avoiding the need to login or have a db).

image

degordian/yii2-frontend-controller

A special controller for your frontend department that allows for easy access to any view/layout combination without going through their respective controllers (avoiding the need to login or have a db).

  • Monday, March 7, 2016
  • by Degordian
  • Repository
  • 8 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Yii2 Frontend Controller

A special controller for your frontend department that allows for easy access to any view/layout combination without going through their respective controllers (avoiding the need to login or have a db)., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist degordian/yii2-frontend-controller "*"

or add, (*4)

"degordian/yii2-frontend-controller": "*"

to the require section of your composer.json file., (*5)

Usage

To access the module, you need to add this to your application configuration:, (*6)

<?php
    ......
    'modules' => [
        'frontend' => [
            'class' => 'degordian\frontendController\Module',
        ],
    ],
    ......

Then to use this extension open up http://your-project.local/frontend/<layout>/<controller>/<action>, (*7)

Advanced usage allows for a custom output message or dynamic number of iterations by appending ?m=&i= example:, (*8)

http://my-project.local/frontned/main/site/index?m=Short+message&i=15, (*9)

The Versions

07/03 2016

dev-master

9999999-dev

A special controller for your frontend department that allows for easy access to any view/layout combination without going through their respective controllers (avoiding the need to login or have a db).

  Sources   Download

MIT

The Requires

 

by Marko Kruljac

frontend extension yii2

27/02 2016

v1.0.0-beta

1.0.0.0-beta

A special controller for your frontend department that allows for easy access to any view/layout combination without going through their respective controllers (avoiding the need to login or have a db).

  Sources   Download

MIT

The Requires

 

by Marko Kruljac

frontend extension yii2

26/02 2016

v1.0.0-alpha

1.0.0.0-alpha

A special controller for your frontend department that allows for easy access to any view/layout combination without going through their respective controllers (avoiding the need to login or have a db).

  Sources   Download

MIT

The Requires

 

by Marko Kruljac

frontend extension yii2