Show
Ignore:
Timestamp:
07/10/08 01:56:21 (17 months ago)
Author:
bchoate
Message:

Updated POD for MT::Page, MT::TaskMgr.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/lib/MT/TaskMgr.pm

    r1912 r2746  
    200200=head1 SYNOPSIS 
    201201 
    202     MT::TaskMgr->add_task($task); 
    203  
    204202    MT::TaskMgr->run_tasks; 
    205203 
     
    254252=head1 METHODS 
    255253 
    256 =head2 MT::TaskMgr->add_task($task_obj) 
    257  
    258 =head2 MT::TaskMgr->add_task(\%task) 
    259  
    260 Registers a new I<MT::Task> object. If this method is called with a hashref, 
    261 a I<MT::Task> will be constructed using that data. 
     254=head2 MT::TaskMgr->new 
     255 
     256Constructs the MT::TaskMgr singleton instance. 
     257 
     258=head2 MT::TaskMgr->init 
     259 
     260Initializes the MT::TaskMgr instance, pulling tasks are defined in 
     261the MT registry. It also runs a callback 'tasks' after gathering 
     262this list. 
    262263 
    263264=head2 MT::TaskMgr->run_tasks 
     
    281282instance using the I<instance> method. 
    282283 
     284=head2 tasks(\%tasks) 
     285 
     286Upon initialization of the TaskMgr instance, the list of MT tasks are 
     287gathered from the MT registry. This hashref of tasks is then passed to 
     288the 'tasks' callback, giving plugins a chance to manipulate the task 
     289metadata before being used. 
     290 
    283291=head1 AUTHOR & COPYRIGHTS 
    284292