Commit Graph
5 Commits
Author SHA1 Message Date
Tim Almdal 80d4df3a4a Convert all item->type == "album" to item->is_album()
Convert all item->type == "photo" to item->is_photo()
2009-02-06 03:47:36 +00:00
Bharat Mediratta f3ba69c1d6 Make sure that helper functions are all static. Add new
File_Structure_Test to make sure we don't regress.

According to the PHP docs, the "public" keyword is implied on static
functions, so remove it.  Also, require private static functions to
start with an _.

http://php.net/manual/en/language.oop5.visibility.php
2009-01-14 04:12:02 +00:00
Bharat Mediratta dec97b42fe Create media_rss helper and move feed generation in there, so that we
can get to the feed from other parts of the code.
2008-11-28 04:51:17 +00:00
Tim Almdal 992cf22c79 Revert module block approach 2008-11-21 07:06:11 +00:00
Tim Almdal b78cee6395 A look at away to allow modules to define html head contents (links and js) and also allow modules to contribute blocks to the layout. 2008-11-20 17:32:58 +00:00