The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

PHPLive::Report - Generate reports for PHP Live!

VERSION

This document describes version 0.03 of PHPLive::Report (from Perl distribution PHPLive-Report), released on 2014-07-25.

SYNOPSIS

Use the included gen-phplive-reports to generate HTML report files.

DESCRIPTION

PHP Live! is a web-based live chat/live support application, http://www.phplivesupport.com/. As of this writing, version 4.4.7, the reports it generates are quite limited. This module produces additional reports for your PHP Live! installation.

FUNCTIONS

gen_phplive_reports(%args) -> any

Arguments ('*' denotes required arguments):

  • dbh* => obj

  • month* => int

  • year* => int

Return value:

 (any)

parse_phplive_transcript($transcript) -> any

The plain column in p_transcripts table stores the actual chat transcript. Entities characters like < and > are HTML-entities-escaped (becoming &lt; and &gt;). Multiple lines are squished together into a single line. No timestamp is recorded for each message.

Arguments ('*' denotes required arguments):

  • transcript* => str

Return value:

 (any)

TODO

  • Add operator reports

    avg_simul_chats

  • Add department reports

  • Add report: monthly number of chats against hour of day

    With bar chart.

  • Add report: number of chats against day of week

    With bar chart.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/PHPLive-Report.

SOURCE

Source repository is at https://github.com/sharyanto/perl-PHPLive-Report.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=PHPLive-Report

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.