PHPでカレンダーを作成します

Aspose.Tasks -カレンダーを作成

Aspose.Tasks java for phpを使用してカレンダーを作成するには、createcalendarモジュールを呼び出します。ここでは、サンプルコードを見ることができます。

 1$ project = new Project( 'test_tasks.mpp');
 2
 3$ cal1 = $ project-> getCalendars() - > add( "no info");
 4
 5$ cal2 = $ project-> getCalendars() - > add( "no name");
 6
 7$ cal3 = $ project-> getCalendars() - > add( "cal3");
 8
 9$ savefileformat = new SaveFileFormat();
10
11$ project-> save( "createcalendar.xml"$ savefileformat-> xml);
12
13「作成されたカレンダー、出力ファイルを確認してください。」;

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

ダウンロード**下記のソーシャルコーディングサイトのいずれかからカレンダー(Asopsion.tasks)**の作成:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.