Commit Graph

5 Commits

Author SHA1 Message Date
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
Tim Almdal
102f0f566b Normalize atom url generation 2008-11-25 15:54:45 +00:00
Tim Almdal
75d9a829d7 Add @todo to look at normalizing the url functions to the ones already in MY_url.php 2008-11-24 22:20:22 +00:00
Jozef Selesi
55fc5993f0 Fix double-escaping in the item comments feed. 2008-11-23 20:43:47 +00:00
Jozef Selesi
d14d312d06 * Individual comment views now output valid Atom 1.0 entries:
http://example.gallery.com/index.php/comments/{comment_id}?_format=atom
* Changed Content-Type of Atom feeds and entries to XML for easier debugging.
* Added an Atom helper class with some common functions and cleaned up entry and feed generation code a bit in the comment helper.
* Style fixes.
2008-11-23 00:24:56 +00:00