Arbeiten mit Aufgaben in PHP

Contents
[ Hide Show ]

** asspos

Rufen Sie Get_Outline_Properties Methode von tasksProperties Modul an get_outline_properties methode teline.tasks Java für PHP an get_outline_properties modul an get_outline_properties an. 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$ tasks = $ collector-> getTasks ();
10
11$ tsk = new tsk ();
12
13$ i = 0;
14
15während ($ i <sizeof ($ tasks))
16
17{
18
19    $task=$tasks->get($i);
20
21    print "Outline Level: " . (string)$task->get($tsk -> OUTLINE_LEVEL);
22
23    print "\nOutline Number: " . (string)$task->get($tsk -> OUTLINE_NUMBER);
24
25    print "\n---------------------------------------------";
26
27    $i += 1;
28
29}

Download Running Code

Download Allgemeine Eigenschaften (Aspose.Tasks) von einer der folgenden sozialen Codierungs -Websites:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.