diff options
author | javiexin <javiexin@gmail.com> | 2017-01-08 00:00:47 +0100 |
---|---|---|
committer | javiexin <javiexin@gmail.com> | 2017-01-08 00:00:47 +0100 |
commit | 20c03cccdde2302412d1e14adda370e7eb57b8e8 (patch) | |
tree | 079407dfc7be03fe22b30c8d3f3da358e14125f3 /phpBB/phpbb/template/template.php | |
parent | c656bd60ef99218a710882b6f640fea099e9c6e2 (diff) | |
download | forums-20c03cccdde2302412d1e14adda370e7eb57b8e8.tar forums-20c03cccdde2302412d1e14adda370e7eb57b8e8.tar.gz forums-20c03cccdde2302412d1e14adda370e7eb57b8e8.tar.bz2 forums-20c03cccdde2302412d1e14adda370e7eb57b8e8.tar.xz forums-20c03cccdde2302412d1e14adda370e7eb57b8e8.zip |
[ticket/14944] Add possibility to search for template loop indexes by key
Adds a new function to the template interface, and implements it in the
context class. The function returns the ordinal index for a specified key,
with the same structure that the key for alter_block_array.
Reuses same code. Remove unneeded references, do nothing for int keys.
Check out of bounds or wrong blockname errors. Added tests.
PHPBB3-14944
Diffstat (limited to 'phpBB/phpbb/template/template.php')
0 files changed, 0 insertions, 0 deletions