Jean-Christian HASSLER > HTML-GUI > HTML::GUI::log::eventList

Download:
HTML-GUI-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

HTML::GUI::log::eventList - Create and control a eventList input for webapp

VERSION ^

Version 0.01

EVENTLIST ^

The eventList module to store all the events we need.

PUBLIC METHODS ^

new

 create a new eventList

addEvent

   Description : 
      Add $event to the EventList object
   Parameters :
                  $event : a HTML::GUI::log::event
   returns :
                                1 if the event is effectively added
                                0 if there was a problem

forget

   Description : 
      Erase all events of the eventList

getCurrentEventList

   Description : 
      Return the EventList object of the proces

getHtml

   Description : 
      Return the html of the eventList. The HTML is like this one :
                <div class="errorList">
                 <h2 class="errorList">Some errors occured.</h2>
                 <dl class="errorList">
                   <dt>Object label</dt>
                         <dd>Event label.</dd>
                 ...other events...
                </div>

   Parameters :
                  $type :
                                'error' : render error events
                                'info' : render info events
                                'debug' : render debug events
                                'all' : render all events
            $visibility : 
                                'pub'  for public, only public events are rendered
                                'all' for private, all events (private and public) are rendered

AUTHOR ^

Jean-Christian Hassler, <jhassler at free.fr>

BUGS ^

Please report any bugs or feature requests to bug-gui-libhtml-eventList at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-GUI-widget. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc HTML::GUI::widget

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2007 Jean-Christian Hassler, all rights reserved.

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

syntax highlighting: