Documentation

Markers

Table of Contents

Api.php 5
Block/Cloud.php 2
Block/Delivery.php 2
Block/Latest.php 2
Block/News.php 2
Block/NewsPopular.php 2
Block/Story.php 1
Driver/Sql.php 8
Driver.php 6
Exception.php 1
Factory/Driver.php 2
FeedParser.php 26
Form/Feed.php 2
Form/Story.php 2
Jonah.php 6
Tagger.php 1
Test.php 2
View/Base.php 2
View/ChannelDelete.php 2
View/ChannelEdit.php 2
View/ChannelList.php 2
View/DeliveryHtml.php 5
View/StoryDelete.php 2
View/StoryEdit.php 2
View/StoryList.php 2
View/StoryPdf.php 11
View/StoryView.php 12
View/TagSearchList.php 4

Api.php

Type Line Description
8 www.horde.org/)
11 cvs.horde.org/co.php/jonah/LICENSE.
230 Requesting the raw story information as returned from searchTags,
231 but add some additional information that external apps might
232 find useful.

Cloud.php

Type Line Description
5 www.horde.org/)
8 www.horde.org/licenses/gpl.

Delivery.php

Type Line Description
5 www.horde.org/)
8 cvs.horde.org/co.php/jonah/LICENSE.

Latest.php

Type Line Description
8 cvs.horde.org/co.php/jonah/LICENSE.
42 Get first news source.

News.php

Type Line Description
5 www.horde.org/)
8 cvs.horde.org/co.php/jonah/LICENSE.

NewsPopular.php

Type Line Description
6 www.horde.org/)
9 cvs.horde.org/co.php/jonah/LICENSE.

Story.php

Type Line Description
8 cvs.horde.org/co.php/jonah/LICENSE.

Sql.php

Type Line Description
8 www.horde.org/)
11 cvs.horde.org/co.php/jonah/LICENSE.
420 Apply date filtering
441 Filter by story author
447 Filter stories by keyword
461 Ensure any results are in the following story_id list.
476 @TODO
517 @TODO

Driver.php

Type Line Description
6 www.horde.org/)
9 cvs.horde.org/co.php/jonah/LICENSE.
127 Convert a channel slug into a channel ID if necessary
136 Validate that we have proper Horde_Date objects
450 All channels
457 Limit by channel_id

Exception.php

Type Line Description
5 www.horde.org/)

Driver.php

Type Line Description
5 www.horde.org/)
8 cvs.horde.org/co.php/jonah/LICENSE.

FeedParser.php

Type Line Description
5 www.horde.org/)
113 Check that the charset is supported by the XML parser.
119 Create the XML parser.
128 Disable processing instructions and external entities.
157 Sanity checks.
163 Parse.
169 Clean up.
220 Userland story format.
238 For now, make the alternate link, which is most likely to
239 point to the HTML copy of the article, the default one - or,
240 if there isn't yet a link and the rel is empty, use it.
246 Store all links named by their rel.
267 Atom feed entry body.
275 Atom feed entry summary.
280 If we're inside an ITEM, consider this a LINK.
289 For My.Userland channels, let these be STORY tags;
290 otherwise, map them to ITEMs.
299 Nonstandard bits that we want to map to standard bits.
317 More Atom dates.
328 For Yahoo's media namespace extensions
329 see http://search.yahoo.com/mrss
330 Specs say that elements other than content may be
331 either children of media:content OR siblings, so
332 we don't nest these elements.
353 Ensure we have a default
421 No break here; continue to the next case.

Feed.php

Type Line Description
6 www.horde.org/)
9 cvs.horde.org/co.php/jonah/LICENSE.

Story.php

Type Line Description
16 www.horde.org/)
19 cvs.horde.org/co.php/jonah/LICENSE.

Jonah.php

Type Line Description
5 www.horde.org/)
8 cvs.horde.org/co.php/jonah/LICENSE.
72 Calls with no $in parameter are checking whether this user
73 has permission. Since this user is an admin, they always
74 have permission. If the $in parameter is an empty array,
75 the method is expected to return an array too.

Tagger.php

Type Line Description
5 www.horde.org/)

Test.php

Type Line Description
5 www.horde.org/)
8 www.horde.org/licenses/gpl.

Base.php

Type Line Description
5 www.horde.org/)
8 cvs.horde.org/co.php/jonah/LICENSE

ChannelDelete.php

Type Line Description
5 www.horde.org/)
8 cvs.horde.org/co.php/jonah/LICENSE

ChannelEdit.php

Type Line Description
3 www.horde.org/)
6 cvs.horde.org/co.php/jonah/LICENSE.

ChannelList.php

Type Line Description
5 www.horde.org/)
8 cvs.horde.org/co.php/jonah/LICENSE

DeliveryHtml.php

Type Line Description
5 www.horde.org/)
8 cvs.horde.org/co.php/jonah/LICENSE.
52 @TODO: This is ugly. storage driver shouldn't be rendering any display
53 refactor this to use individual views possibly with a choice of different templates
56 Buffer the notifications and send to the template

StoryDelete.php

Type Line Description
5 www.horde.org/)
8 cvs.horde.org/co.php/jonah/LICENSE.

StoryEdit.php

Type Line Description
5 www.horde.org/)
8 cvs.horde.org/co.php/jonah/LICENSE.

StoryList.php

Type Line Description
6 www.horde.org/)
9 cvs.horde.org/co.php/jonah/LICENSE.

StoryPdf.php

Type Line Description
3 www.horde.org/)
6 cvs.horde.org/co.php/jonah/LICENSE.
31 Convert the body from HTML to text if necessary.
36 Set up the PDF object.
40 Enable automatic page breaks.
43 Start the document.
46 Start a page.
49 Publication date.
56 Write the header in Times 24 Bold.
61 Write the story body in Times 14.
65 Output the generated PDF.

StoryView.php

Type Line Description
5 www.horde.org/)
8 cvs.horde.org/co.php/jonah/LICENSE.
103 FIXME - need to actually use these.
104 $tag_html = array();
105 $tag_link = Horde::url('stories/results.php')->add('channel_id', $channel_id);
106 foreach ($story['tags'] as $id => $tag) {
107 $link = $tag_link->copy()->add('tag_id', $id);
108 $tag_html[] = $link->link() . $tag . '</a>';
109 }
116 If URL is present, it's used instead of a story body. I.e., Provides
117 a mechanism for a story title, with a link to e.g., a mailing list
118 archive ...

TagSearchList.php

Type Line Description
6 www.horde.org/)
9 cvs.horde.org/co.php/jonah/LICENSE.
29 Require a channel to be selected.
105 $title = $channel['channel_name'];

Search results