Not a developer? Go to MovableType.com

Documentation

tasks

Upon initialization of the Task Manager instance, the list of Movable Type tasks are gathered from the MT registry.

Input Parameters

  • $cb - a reference to the current MT::Callback object handling this event.
  • $tasks - a hash reference of tasks being executed.

Return Value

None.

Example Handler

sub handler {
    my ($cb, $tasks) = @_;
    foreach my $task (keys %$tasks) {
        # do something
    }
}
Back