Erstellen von Ressourcenzuweisungen in PHP

Aspose.Tasks - Erstellen von Ressourcenzuweisungen

So erstellen Sie Ressourcenzuweisungen mit ** asspose. Hier sehen Sie Beispielcode.

1$ project = new Project ('test_tasks.mpp');
2
3$ task = $ project-> getRoottask ()-> getChildren ()-> add ("task");
4
5$ rsc = $ project-> getResources ()-> add ("rsc");
6
7$ adipment = $ project-> getResourceAsssignments ()-> add ($ task, $ rsc);
8
9Druck "erstellte Ressourcenzuweisung";

Download Running Code

Download Erstellen von Ressourcenzuweisungen (Aspose.Tasks) von einer der folgenden erwähnten Social -Coding -Websites:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.