PHP의 일반 캘린더 특성

Aspose.Tasks- 일반 달력 속성

Aspose.Tasks java for php를 사용하여 달력 속성을 얻으려면 캘린더 프로파일 모듈을 호출하십시오. 여기에서 예제 코드를 볼 수 있습니다.

PHP 코드

 1$ project = 새 프로젝트 ( 'test_tasks.mpp');
 2
 3$ calendars = $ project-> getCalendars ()-> tolist ();
 4
 5$ i = 0;
 6
 7while ($ i <sizeof ($ calendars)) {
 8
 9    $cal = $calendars->get($i);
10
11    if ($cal->getName() != null) {
12
13        print "Base Calendar : ";
14
15        if ($cal -> isBaseCalendar()) {
16
17            print "Self";
18
19        }
20
21        else {
22
23            $cal->getBaseCalendar()->getName();
24
25        }
26
27        print "UID : " . (string)$cal->getUid();
28
29        print "Name : " . (string)$cal->getName();
30
31}
32
33$ i += 1;
34
35}

실행 코드 다운로드

다운로드 일반 캘린더 속성 (Aspose.Tasks) 아래 언급 된 소셜 코딩 사이트에서 :

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.