Attire
class Attire (View source)
Attire Library.
Templating with this class is done by layering the standard CI view system. The basic idea is that for every single CI view there are individual CSS, Javascript and View files that correlate to it and this structure is conected with the Twig Engine.
Properties
protected Loader | $loader | ||
protected Environment | $environment | ||
protected Theme | $theme | ||
protected Views | $views |
Methods
__construct(array $options = [])
Class constructor.
string
render(string|array $views = null, array $params = [])
Render a template.