2017 © Pedro Peláez
 

library stmarkssmarty

A standard Smarty install for St. Mark's projects

image

smtech/stmarkssmarty

A standard Smarty install for St. Mark's projects

  • Wednesday, May 24, 2017
  • by battis
  • Repository
  • 2 Watchers
  • 0 Stars
  • 281 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

StMarksSmarty

Latest Version Scrutinizer Code Quality, (*1)

A wrapper for Smarty to provide a consistent UI for our scripts and apps., (*2)

Install

Because this makes use of front-end files managed via Bower, as well as the back-end managed by Composer, it is really, really, super-helpful to run the following command before trying to work with this package:, (*3)

composer global require "fxp/composer-asset-plugin:^1.1"

Find out more about fxp/composer-asset-plugin and Bower., (*4)

And then, include in composer.json:, (*5)

"require": {
  "smtech/stmarkssmarty": "dev-master"
}

Use

If you have no templates of your own:, (*6)

$smarty = StMarksSmarty::getSmarty();

// ...app logic...

$smarty->assign('content', '

whatever content you want displayed, (*7)

'); $smarty->display();

If you have your own templates directory:, (*8)

$smarty->addTemplateDir('<path-to-your-templates-dir>');

If your app will be presented as an embedded iframe:, (*9)

$smarty = StMarksSmarty::getSmarty(true);

Complete API documentation is included in the repo and the Smarty API documentation is also online., (*10)

The Versions

24/05 2017

dev-master

9999999-dev

A standard Smarty install for St. Mark's projects

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

24/05 2017

dev-develop

dev-develop

A standard Smarty install for St. Mark's projects

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

24/05 2017

v1.0.1

1.0.1.0

A standard Smarty install for St. Mark's projects

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

01/08 2016

v1.0

1.0.0.0

A standard Smarty install for St. Mark's projects

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

17/03 2016

v0.5

0.5.0.0

A standard Smarty install for St. Mark's projects

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

09/12 2015

v0.4

0.4.0.0

A standard Smarty install for St. Mark's projects

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

21/10 2015

v0.3

0.3.0.0

A standard Smarty install for St. Mark's projects

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

26/08 2015

v0.2

0.2.0.0

A standard Smarty install for St. Mark's projects

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis

08/08 2015

v0.1

0.1.0.0

A standard Smarty install for St. Mark's projects

  Sources   Download

LGPL-3.0

The Requires

 

by Seth Battis