Files
moodle/lib
martinlanghoff b4bdcbe535 blocklib: cache (and used cached) block instances properly in $pageblocks
Now blocks_have_content() caches instantiated block objects inside $pageblocks
and blocks_print_blocks() uses them if available. This behaviour now matches
the documentation: blocks instances are created only once, get_content()
may be invoked several times.

A better fix would be to cache the _output_ of the block (the ->content
property) but it may bite us if any block is counting on being called twice.

Discussion at: http://moodle.org/mod/forum/discuss.php?d=45867
2006-05-17 04:51:12 +00:00
..
2006-01-28 06:04:42 +00:00
2006-05-04 06:56:24 +00:00
2006-03-21 20:54:50 +00:00
2006-03-19 11:10:25 +00:00
2005-06-24 12:50:29 +00:00
2006-03-21 20:54:50 +00:00
2005-05-17 02:20:10 +00:00
2006-04-16 15:56:36 +00:00
2006-05-14 17:21:02 +00:00
2006-04-22 16:36:35 +00:00
2004-03-20 04:08:19 +00:00
2006-04-21 05:17:08 +00:00
2004-01-23 08:40:29 +00:00
2004-09-26 04:54:03 +00:00
2006-04-05 02:43:41 +00:00
2004-09-12 13:21:01 +00:00
2005-03-01 08:45:05 +00:00
2002-08-12 07:44:53 +00:00