post_run

The post_run callback is invoked immediately after running the mode handler for the request, but prior to the response being sent to the client.

Input Parameters

  • $cb - a reference to the current MT::Callback object handling this event.
  • $app - a reference to the MT::App::CMS object processing this request.

Return Value

None.

Example Handler

sub pre_run_handler {
    my ($cb, $app) = @_;
    # do something
}

This page is part of the Events and Callbacks in Movable Type

This page was last updated on 2008-10-01, 17:03.

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.