12 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
Rossiani Wijaya
93dd2725e8 MDL-30989 portfolio: updated portfolio phpdocs. 2012-01-30 15:37:46 +08:00
Dongsheng Cai
13ce122930 MDL-23142, Portfolio Export should require mod/assignment/lib.php thanks to Dan Marsden, and remove stored_file.php from portfolio 2010-07-08 04:49:46 +00:00
Penny Leach
24ba58ee9a portfolio MDL-21079 be more selective about including libraries.
this involves moving all formslib includes to where they're actually needed.
it also moves the portfolio stuff from assignment,data,chat,forum and glossary
into a locallib.php which involved creating it for many of those modules.
2009-12-12 11:27:07 +00:00
Penelope Leach
aa37986599 portfolio MDL-20850 adding $PAGE->set_url 2009-11-16 14:57:42 +00:00
Petr Skoda
4317f92f3f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:51:40 +00:00
mjollnir_
4c7a4ef9df MDL-18734 - documentation and coding style in portfolio/*
Added much needed documentation to the portfolio "scripts" (the libs are all
fine), and moved all parameter fetching from the body of the file to the top.
2009-05-02 13:23:22 +00:00
skodak
98335b2da8 MDL-14591 adding standard access control 2009-03-28 22:02:00 +00:00
mjollnir_
6b6f1c056d MDL-14591 - added security in file serving in pull portfolio plugins 2008-09-16 14:17:32 +00:00
mjollnir_
2eb07e7904 MDL-14591 - misc improvements to portfolio api 2008-08-29 12:36:56 +00:00
mjollnir_
3403520190 MDL-16134 - exception handling in portfolio code 2008-08-19 14:20:32 +00:00
mjollnir_
d96a1acc0b MDL-15777 more fixes for portfolio to use file api
this introduces portfolio/file.php to serve portfolio related files - access check is delegated to the plugin.
and also two new classes in the portfolio plugin tree - push vs pull.
2008-08-12 13:17:34 +00:00