Show
Ignore:
Timestamp:
05/06/08 21:37:02 (19 months ago)
Author:
fumiakiy
Message:

Added post_init callback. The callback is invoked when MT is initialized and addons and plugins are loaded. See POD for the signature. BugId:79507

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-38/lib/MT.pm.pre

    r2206 r2246  
    11411141    require MT::Log; 
    11421142 
     1143    $mt->run_callbacks('post_init', $mt, \%param); 
    11431144    return $mt; 
    11441145} 
     
    33233324to do so. 
    33243325 
     3326=head2 post_init($cb, \%param) 
     3327 
     3328This callback is invoked when MT is initialized and ready to run. 
     3329This callback is invoked after MT initialized addons, plugins, schema 
     3330and permissions.  The arguments passed to initialize MT is passed 
     3331through to the callback. 
     3332 
    33253333=head1 LICENSE 
    33263334