PHPのリソース拡張属性を使用します

Aspose.Tasks -拡張リソース属性

Aspose.Tasks java for phpを使用して拡張リソース属性を設定するには、extendedresourceattributesモジュールを呼び出します。ここでは、サンプルコードを見ることができます。

PHPコード

 1$ project = new Project( 'test_tasks.mpp');
 2
 3$ res = $ $ project-> getResources() - > tolist() - > get(0);
 4
 5$属性= new ExtendEdattribute();
 6
 7$属性 - > setFieldId( "11");
 8
 9$属性 - > setValue( "myvalueea");
10
11$属性 - > setValueGuid( "myvalueguidea");
12
13$ res-> getExtEdendAttributes() - > add($ attribute);
14
15"拡張リソース属性を設定します。";

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

ダウンロード**拡張リソース属性(Aspose.Tasks)**以下のソーシャルコーディングサイトのいずれかから:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.