phpdox icon indicating copy to clipboard operation
phpdox copied to clipboard

Render property on template

Open oscarnovasf opened this issue 4 years ago • 1 comments
trafficstars

I have this on my phpdox.xml

<?xml version="1.0" encoding="utf-8" ?>

<phpdox xmlns="http://xml.phpdox.net/config" silent="false">

  <project name="Project name" source="${basedir}" workdir="${basedir}/.tmp-doc/phpdox/xml">

    <property name="author" value="Author name" />

How can I access this property value from the template?

oscarnovasf avatar Jan 21 '21 16:01 oscarnovasf

Hi, interesting question that even made me look up the code to be sure before I answer ;)

Currently, we do not expose these into the rendering process. It's a config only value. But it sounds like an interesting enhancement.

theseer avatar Jan 31 '21 22:01 theseer