api_pre_save.$obj_type
This callback is invoked prior to saving the entry object via the XML-RPC or Atom API. If a new entry is being saved, "$entry->id" will not be set.
Input Parameters
- $cb - a reference to the current
MT::Callbackobject handling this event. - $app - a reference to TODO object processing this request.
- $entry -
- $original -
Return Value
None.
Example Handler
sub handler {
my ($cb, $app, $entry, $original) = @_;
}
- Previous: XMLRPC/Atom Callbacks
- Next: api_post_save.$obj_type
This page was last updated on 2008-10-01, 17:03. [Edit]

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.