Commit Graph

8 Commits

Author SHA1 Message Date
Russell Smith
1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Sam Hemelryk
56588dfbee MDL-30988 Fixed phpdocs during integration review 2012-02-21 12:01:00 +13:00
Gerard (Gerry) Caulfield
4d6b40a020 Updating phpdoc comments to Rajesh's specifications. 2012-02-15 11:07:38 +08:00
Petr Skoda
117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
skodak
ba33919185 MDL-20169 reverting my incorrect patch - sorrry 2009-08-31 20:46:11 +00:00
samhemelryk
7d2a049292 navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
skodak
d4b5bd4393 MDL-20169 fixed coding style, parameter type required 2009-08-27 19:20:03 +00:00
tjhunt
bd1884fe6b ajax: MDL-17084 provide a way for JavaScript to update user preferences. 2008-10-31 08:25:19 +00:00