NAME

Muster::Hook::SqlReport - Muster SQL-report directive

VERSION

version 0.92

DESCRIPTION

Muster::Hook::SqlReport processes the SQL-report directive. Excpects SQLite databases in the config.

METHODS

Muster::Hook::SqlReport inherits all methods from Muster::Hook::Directives.

register

Initialize and register.

RETURN a selection result.

build_where_conditions

If "where" is not a hash. treat it like a query.

Otherwise do the default of the superclass.

do_report

Do a report, pre-processing the arguments a bit.

make_pagination

Make the buttons for the pagination.

Pagination happens only when pagination is true and there's a limit not equal to zero.