Changeset 990

Show
Ignore:
Timestamp:
12/28/06 03:53:37 (2 years ago)
Author:
fumiakiy
Message:

Modified POD a little.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/wheeljack/lib/MT/BackupRestore.pm

    r987 r990  
    11041104be an empty array if a user chose Everything. 
    11051105 
     1106If a plugin has an MT::Object derived type, the plugin will register  
     1107a callback to Backup callback, and Backup process will call the callbacks 
     1108to give plugins a chance to add their own data to the backup file. 
     1109 
    11061110=item Restore 
    11071111 
    11081112Restore callbacks are called in convention like below: 
    11091113 
    1110     MT->run_callbacks("Restore.<xml_namespace>",  
    1111         $data, $objects, $deferred, $callback); 
     1114    callback($cb, $data, $objects, $deferred, $callback); 
    11121115 
    11131116Where $data is a parameter which was passed to XML::SAX::Base's  
     
    11311134 
    11321135If a plugin has an MT::Object derived type, the plugin will register  
    1133 a callback to Restore.<xmlnamespace> callback, so later the restore  
    1134 operation will call the callback function with parameters described above. 
    1135 XML Namespace is required to be registered, so an xml node can be resolved  
    1136 into what plugins to be called back, and can be distinguished the same  
    1137 element name with each other. 
     1136a callback to Restore.<element_name>:<xmlnamespace> callback,  
     1137so later the restore operation will call the callback function with  
     1138parameters described above.  XML Namespace is required to be registered,  
     1139so an xml node can be resolved into what plugins to be called back,  
     1140and can be distinguished the same element name with each other. 
    11381141 
    11391142=head1 AUTHOR & COPYRIGHT