/*
* Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
- * Copyright (C) 2002-2011 The Nucleus Group
+ * Copyright (C) 2002-2013 The Nucleus Group
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* (see nucleus/documentation/index.html#license for more info)
- */
-/**
+ *
* This file contains definitions for the methods in the Movable Type API
*
* Wouter Demuynck 2003-08-31
- *
- * @license http://nucleuscms.org/license.txt GNU General Public License
- * @copyright Copyright (C) 2002-2011 The Nucleus Group
- * @version $Id$
- * * $NucleusJP: api_mt.inc.php,v 1.5 2006/07/17 20:03:45 kimitake Exp $
*/
// mt.supportedMethods
$trackbacks = array ();
$tbstruct = array ();
-
- $manager->notify('RetrieveTrackback', array ('tb_id' => $itemid, 'trackbacks' => & $trackbacks));
+
+ $param = array(
+ 'tb_id' => $itemid,
+ 'trackbacks' => &$trackbacks
+ );
+ $manager->notify('RetrieveTrackback', $param);
while (list(,$v) = each ($trackbacks)) {
$tbstruct[] = new xmlrpcval(