MT::BackupRestore::restore_asset
This callback is called when an asset's physical file is restored.
Input Parameters
- $cb - a reference to the current
MT::Callbackobject handling this event. - $asset - a reference to the
MT::Assetobject that was restored. At the time this callback is invoked, the asset in question has already been assigned a new url and path. - $callback - a code reference which will print out the passed parameter. Callback method can use this to communicate with users.
Return Value
None.
Example Handler
sub restore_asset_handler {
my ($cb, $asset, $callback) = @_;
}
This page is part of the Events and Callbacks in Movable Type
- Previous MT::BackupRestore::restore
This page was last updated on 2008-10-01, 16:59.
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.