From e5e93fa60810be262a8d19620726b21fe6594ba0 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Mon, 18 Nov 2019 16:36:49 +0100 Subject: [PATCH] Update for recent version of nette --- src/@elementlist.latte | 2 +- src/@layout.latte | 18 ++-- src/annotation-group.latte | 26 ++--- src/class.latte | 214 +++++++++++++++++++------------------ src/constant.latte | 24 ++--- src/function.latte | 28 ++--- src/tree.latte | 10 +- 7 files changed, 164 insertions(+), 158 deletions(-) diff --git a/src/@elementlist.latte b/src/@elementlist.latte index 9988198..55885cc 100644 --- a/src/@elementlist.latte +++ b/src/@elementlist.latte @@ -1,6 +1,6 @@ {define elements} - {if $namespace}{$element->shortName}{else}{$element->name}{/if} + {if $namespace}{$element->getShortName()}{else}{$element->getName()}{/if} {$element|shortDescription|noescape} {/define} diff --git a/src/@layout.latte b/src/@layout.latte index ce206ab..348712b 100644 --- a/src/@layout.latte +++ b/src/@layout.latte @@ -8,7 +8,7 @@ - + @@ -76,7 +76,7 @@ {define elements} {/define} @@ -136,23 +136,23 @@ Namespace
  • - Class + Class
  • - Function + Function
  • - Constant + Constant