PHPの会計年財産

Aspose.Tasks -会計年のプロパティを読む

Aspose.Tasks java for phpを使用して会計年のプロパティを読むには、get_fiscal_year_properties fiscalyearpropertiesモジュールのメソッドを呼び出します。ここでは、サンプルコードを見ることができます。

PHPコード

1$ proAspose.Tasks Project( 'test_tasks.mpp');
2
3$ prj = new Prj();
4
5「会計年度開始日:」を印刷します。 (string)$ project-> get($ prj-> fy_start_date);
6
7「\ nfiscal Year Numbersing:」を印刷します。 (string)$ project-> get($ prj-> fiscal_year_start);

asops.tasks-会計年度のプロパティを書く

Aspose.Tasks java for phpを使用して財政年のプロパティを作成するには、set_fiscal_year_properties fiscalyearpropertiesモジュールのメソッドを呼び出します。ここでは、サンプルコードを見ることができます。

PHPコード

 1$ project = new Project();
 2
 3$ prj = new Prj();
 4
 5$ month = new Month();
 6
 7$ project-> set($ prj-> fy_start_date、$ month-> 7月);
 8
 9$ project-> set($ prj-> fiscal_year_start、new NullableBool(true));
10
11$ savefileformat = new SaveFileFormat();
12
13$ project-> save( "fiscal_year_properties.xml"$ savefileformat-> xml);
14
15印刷「会計年度のプロパティを設定します。出力ファイルを確認してください。」;

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

ダウンロード**会計年度のプロパティ(Aspose.Tasks)**以下のソーシャルコーディングサイトのいずれかから:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.