trejjam/presenter-tree

Nette presenter tree

v0.4.0 2016-02-24 14:00 UTC

This package is auto-updated.

Last update: 2024-12-05 19:23:39 UTC


README

Latest stable

This library is based on gist: https://gist.github.com/fprochazka/705975

Installation

The best way to install Trejjam/PresenterTree is using Composer:

$ composer require trejjam/presenter-tree

Configuration

.neon

extensions:
	presenterTree: Trejjam\PresenterTree\DI\PresenterTreeExtension

Usage

Presenter/Model:

	use \Trejjam\PresenterTree;

	/**
	* @var PresenterTree\PresenterTree @inject
	*/
	public $presenterTree;
	
	function renderDefault() {

	}