Help for this page

Select Code to Download


  1. or download this
            Someone creates a new document
                |    
    ...
                            Status: 'under editorial review'.
    
    And several more options below, but you get the idea I hope.
    
  2. or download this
    Ticket::new(String group, String username, String documentID); # other
    + values will come from the db
    Ticket::save;
    Ticket::move(String direction, int steps); # e.g., forward if okayed, 
                                               # back if not okay, sometim
    +es even 
                                               # back to the beginning.
    
  3. or download this
    package Track;
    our %switch = (); # to be filled in by subclasses.
    ...
        # out which subroutine in %Track::switch to call.
        # This would be called from Ticket::move most likely.
    }