Mateu X. Hunter > Mojito-0.21 > Mojito::Model::Link

Download:
Mojito-0.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.21   Source   Latest Release: Mojito-0.24

Methods ^

get_most_recent_link_data

Get the recent links data structure - ArrayRef[HashRef]

TODO: There's HTML in here, omg.

get_feed_link_data

Get the data to create links for a particular feed.

get_atom_feed

Get the data to create links for a particular feed.

get_collections_index_link_data

Get the data to create links to all the available collections.

get_collection_link_data

Get the data to create links to all the documents in a collection.

get_link_data

Given a MongoDB cursor OR ArrayRef of documents then create the link data.

get_recent_links

Turn the data into HTML $args should be a HashRef of options

get_feed_links

Get the links for the documents belonging to a particular feed.

view_selectable_page_list

Get the links for the documents belonging to a particular feed.

view_sortable_page_list

View the pages in a collection, ready to be sorted.

create_selectable_page_list

Given link data (doc id and title) and possibly some $args then create hyperlinks

create_sortable_page_list

Create a sortable list of the pages in a collection. This is how we impose order to collection of pages.

view_collections_index

List the existing collections

view_collection_page

View a list of links to the pages that make up a collection.

create_list_of_links

Given link data (doc id and title) and possibly some $args then create hyperlinks

create_generic_list_of_links

Given link data (doc id and title) and possibly some $args then create hyperlinks, but in a more general manner than create_list_of_links().

    Returns array of <a hrefs 

BUILD

Create the handler objects

syntax highlighting: