Login   Register  
PHP Classes
elePHPant
Icontem

Series and tables

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP DOCX Template  >  All threads  >  Series and tables  >  (Un) Subscribe thread alerts  
Subject:Series and tables
Summary:Extension request: allow for more versatile replacement
Messages:2
Author:Diego Zuccato
Date:2013-09-17 19:36:02
Update:2013-10-13 07:37:29
 

  1. Series and tables   Reply  
Picture of Diego Zuccato
Diego Zuccato
2013-09-17 19:36:02
It could be useful to be able to have "pseudo structures" like:
{BEGIN:mylist}
* {listitem}
{END:mylist}
and do something like a "foreach()":
$doc->iterate('mylist', 'listitem', array('line 1', 'line 2'));
that results in
* line 1
* line 2

Another (more or less related) extension could be like "print series": the document gets loaded, but fields gets replaced by arrays, resulting in a multi-page document.

Is it doable?

  2. Re: Series and tables   Reply  
Picture of Sergey Shuchkin
Sergey Shuchkin
2013-10-13 07:37:29 - In reply to message 1 from Diego Zuccato
diego, I want iniclude iterators in next release