aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/context.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/12892] Do not set S_NUM_ROWS when adding a row to a template loopJoas Schilling2014-07-251-20/+58
| | | | | | | | We do not set S_NUM_ROWS while adding a row, to reduce the complexity If we would set it on adding, each subsequent adding would cause n modifications, resulting in a O(n!) complexity, rather then O(n) PHPBB3-12892
* [ticket/12715] Cleanup comments in \phpbb\template\*Tristan Darricau2014-06-151-0/+5
| | | | PHPBB3-12715
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-5/+7
| | | | PHPBB3-12594
* Merge remote-tracking branch 'rxu3/ticket/12224' into developJoas Schilling2014-03-101-0/+16
|\ | | | | | | | | | | * rxu3/ticket/12224: [ticket/12224] Add assign_block_vars_array() test. [ticket/12224] Add template wrapper method to assign block arrays
| * [ticket/12224] Add template wrapper method to assign block arraysrxu2014-02-231-0/+16
| | | | | | | | | | | | | | | | | | | | | | Add one more wrapper template method for the function assign_block_vars() which takes a 2-dimensional array as a parameter and calls assign_block_vars() in a loop to assign the whole block loop at once. This can make the core a little bit more expendable from the point of developing extensions as it allows to pass the data to events before it's being assigned to template. PHPBB3-12224
* | [ticket/12232] Fix a similar excessive pattern in the method.Cesar G2014-02-271-1/+2
| | | | | | | | PHPBB3-12232
* | [ticket/12232] Remove excessive calls to sizeof() in assign_block_vars() methodCesar G2014-02-271-1/+2
|/ | | | | | | | | | The size of the template block array is calculated within a foreach loop iterating through the array, which is unnecessary. It only needs to be done once. In a block of 1000 rows, this results in 500,500 calls to sizeof() in this location. With this change, that's reduced to 1000. PHPBB3-12232
* [task/code-sniffer] Remove the IN_PHPBB check side-effect from class files.Andreas Fischer2013-10-301-8/+0
| | | | PHPBB3-11980
* [ticket/11981] Fix code sniffer complaintsMarc Alexander2013-10-281-2/+2
| | | | PHPBB3-11981
* [ticket/11700] Fix some more incorrectly changed commentsNils Adermann2013-09-191-1/+1
| | | | PHPBB3-11700
* [ticket/11700] And some last comments with backslashesNils Adermann2013-09-161-2/+2
| | | | PHPBB3-11700
* [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-161-5/+7
| | | | PHPBB3-11700
* [ticket/11698] Moving all autoloadable files to phpbb/Nils Adermann2013-07-141-0/+389
PHPBB3-11698