1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15068] Add template vars retrieval from the template object

Add possibility to retrieve full block of vars

PHPBB3-15068
This commit is contained in:
javiexin
2017-03-09 16:05:39 +01:00
parent f23d9bf2e0
commit 96a90d3f81
2 changed files with 20 additions and 4 deletions

View File

@@ -162,7 +162,7 @@ interface template
/**
* Retrieve variable values from an specified block
* @param string $blockname Name of block to retrieve $vararray from
* @param array $vararray An array with variable names
* @param array $vararray An array with variable names, empty array gets all vars
* @return array A hash of variable name => value pairs (value is null if not set)
*/
public function retrieve_block_vars($blockname, array $vararray);