重要かつ努力主導のタスクの処理

Aspose.Tasks -批判的および努力駆動型タスクの処理

Aspose.Tasks asops.tasks java for phpを使用して、重要かつ努力駆動型のタスクを処理するには、criticalandeffortdriventasksモジュールを呼び出します。ここでは、サンプルコードを見ることができます。

PHPコード

 1$ project = new Project( 'test_tasks.mpp');
 2
 3$ collector = new ChildTasksCollector();
 4
 5$ taskutils = new taskutils();
 6
 7$ taskutils-> apply($ project-> getRoottask()、$ collector、0);
 8
 9$ tsk = new tsk();
10
11$ tasks = $ collector-> gettasks();
12
13$ i = 0;
14
15while($ i <sizeof($ tasks))
16
17{
18
19    $task = $tasks -> get($i);
20
21    print $str_effort_driven = $task -> get($tsk -> IS_EFFORT_DRIVEN) != null ? "\nEffortDriven" : "\nNon-EffortDriven";
22
23    print $str_is_critical = $task -> get($tsk -> IS_CRITICAL) != null ? "\nCritical" : "\nNon-Critical";
24
25    $i += 1;
26
27}

実行中のコードをダウンロード

ダウンロード**クリティカルおよび努力駆動型タスクの処理(Aspose.Tasks)**以下のソーシャルコーディングサイトのいずれかから:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.