PHPの新しいタスクの属性の設定

Aspose.Tasks -新しいタスクの属性の設定

Aspose.Tasks java for phpを使用して新しいタスクの属性を設定するには、setattributesfornewtasksモジュールを呼び出します。ここでは、サンプルコードを見ることができます。

PHPコード

 1$ project = new Project( 'test_tasks.mpp');
 2
 3$ prj = new Prj();
 4
 5$ taskStartDateType = new TaskStartDateType();
 6
 7$ project-> set($ prj-> new_task_start_date、$ taskStartDateType-> currentDate);
 8
 9$ savefileformat = new SaveFileFormat();
10
11$ project-> save( "set_attributes_for_new_tasks.xml"$ savefileformat-> xml);
12
13「新しいタスクの属性を設定する」の印刷、出力ファイルを確認してください。 ";

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

ダウンロード**新しいタスクの属性の設定(Aspose.Tasks)**以下のいずれかのソーシャルコーディングサイトのいずれかから:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.