Warlock.Siren.Links (warlock v2.2.0)

Summary

Functions

Adds a link to the last page

Adds a link to the next page, if it's not the last page.

Adds a link to the previous page, if it's not the first page.

Creates an updated uri to a new page.

Functions

Link to this function

add_first(links, conn)

Link to this function

add_last(links, conn, count)

Adds a link to the last page

Link to this function

add_next(links, conn, count)

Adds a link to the next page, if it's not the last page.

Link to this function

add_prev(links, conn)

Adds a link to the previous page, if it's not the first page.

Link to this function

add_self(links, conn)

Link to this function

change_page(conn, new_page)

Creates an updated uri to a new page.

Link to this function

decode_query(url)

Link to this function

make(rel, href)

Link to this function

parse_uri(conn)