WBS, die einer Aufgabe in PHP assoziiert sind

Contents
[ Hide Show ]

** asspos

Zu wbs, die mit einer Aufgabe zugeordnet sind, unter Verwendung von ** asspose. Hier sehen Sie Beispielcode.

PHP -Code

 1$ project = new Project ('test_tasks.mpp');
 2
 3$ collector = new ChildTaskScollector ();
 4
 5$ taskutils = new Taskutils ();
 6
 7$ taskutils-> bewerben ($ project-> getroottask (), $ collector, 0);
 8
 9$ tsk = new tsk ();
10
11$ tasks = $ collector-> getTasks ();
12
13$ i = 0;
14
15während ($ i <sizeof ($ tasks)) {
16
17    $task = $tasks -> get($i);
18
19    print "WBS: " . (string)$task -> get($tsk -> WBS);
20
21    print "\nWBS Level: " . (string)$task -> get($tsk -> WBS_LEVEL);
22
23    $i += 1;
24
25}

Download Running Code

Download wbs, die einer Aufgabe (Aspose.Tasks) von einem der folgenden erwähnten Social -Coding -Websites zugeordnet sind:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.