コード例 #1
0
$info = $it->create($dx);
new dBug($info);
*/
$str = "<?xml version='1.0'?>";
$str = '';
$str .= "<issuetracker>" . "<dbhost>localhost</dbhost>" . "<dbname>mantis_tlorg</dbname>" . "<dbtype>mysql</dbtype>" . "<dbuser>root</dbuser>" . "<dbpassword>mysqlroot</dbpassword>" . "<hrefview>http://localhost:8080/development/mantisbt-1.2.5/my_view_page.php?id=</hrefview>" . "<hrefcreate>http://localhost:8080/development/mantisbt-1.2.5/</hrefcreate>" . "</issuetracker>";
$dx = new stdClass();
$dx->name = 'Francisco3';
$dx->type = $issueTrackerDomain['MANTIS'];
$dx->cfg = $str;
$info = $it->create($dx);
new dBug($info);
$info = $it->getByName('Francisco3');
new dBug($info);
die;
$links = $it->getLinks(4);
new dBug($links);
// $it->link(4,2);
$links = $it->getLinks(4);
new dBug($links);
$linkSet = $it->getLinkSet();
new dBug($linkSet);
$info = $it->delete(0);
new dBug($info);
$info = $it->delete('papap');
new dBug($info);
$info = $it->delete(-1);
new dBug($info);
$info = $it->delete(4);
new dBug($info);
$info = $it->delete(5);