Installs: 1 233

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/gluecks-gmbh/base

dev-master 2020-10-21 21:23 UTC

This package is auto-updated.

Last update: 2025-09-29 02:42:59 UTC


README

Scrutinizer Code Quality Build Status Code Intelligence Status

BASE

Base is Framework and MVC

Installation

composer

Create basic MVC installion

Run the script "./vendor/gluecks-gmbh/base/scripts/baseCreate.sh" inside the project root folder.

MVC / Smarty

Every Controller needs a

  • PHP Controller class

  • Smarty Template file

  • Smarty Config file

MVC / Smarty / Link-Plugin

You can use the link-plugin to generate uris out of a controller related to the routes.xml

The Syntax is:

{Link->use controller="/About::overveiw"}

If the uri contains regular expression it is necessary to add the values of the regualr expression. To do this you have to add a var named "values" to the plugin call. The variable have to be an numeric array with the syntax: first element belongs to the first regualar expression, the second element to the second regular expression and so on.

{Link->use controller="/Stores::details" values=["london"]}