unikent/lib-php-footprints

此包的最新版本(2.3)没有可用的许可信息。

PHP的足迹API。

2.3 2014-12-02 08:17 UTC

This package is not auto-updated.

Last update: 2024-09-24 04:23:01 UTC


README

Latest Stable Version

完整的API文档在此处可用:http://unikent.github.io/lib-php-footprints/

将其添加到您的composer require中

  • "unikent/lib-php-footprints": "dev-master"

然后创建如下格式的票据

$ticket = new \unikent\Footprints\Ticket("My Example Ticket");
$ticket->set_emails(false, false, false);
$ticket->set_priority("Normal");
$ticket->set_user("sk");
$ticket->set_type("Incident");
$ticket->set_category("Web");
$ticket->add_assignees(array(
    "Learning and Research Development",
    "sk"
));
$ticket->add_entry("We did this cool thing the other day!");
$ticket->add_technical_note("Something is broken.");
$ticket->add_entry("Oh, it isnt working.");
$ticket->add_technical_note("Hah it was that function I wrote a long time ago.");
$ticket->add_entry("Fixed!");
$ticket->set_status("Resolved");

$ticketnumber = $ticket->create();