@@ -99,6 +99,10 @@ discard block |
||
| 99 | 99 | |
| 100 | 100 | |
| 101 | 101 | |
| 102 | + /** |
|
| 103 | + * @param string $name |
|
| 104 | + * @param string $value |
|
| 105 | + */ |
|
| 102 | 106 | static private function getPropertyValue($name, $value) |
| 103 | 107 | { |
| 104 | 108 | if ($name === 'DESCRIPTION') { |
@@ -474,7 +478,7 @@ discard block |
||
| 474 | 478 | * |
| 475 | 479 | * |
| 476 | 480 | * @param string $icalProperty |
| 477 | - * @param mixed $value |
|
| 481 | + * @param string $value |
|
| 478 | 482 | * |
| 479 | 483 | * @return caldav_CalendarPeriod |
| 480 | 484 | */ |
@@ -491,6 +491,9 @@ |
||
| 491 | 491 | } |
| 492 | 492 | |
| 493 | 493 | |
| 494 | + /** |
|
| 495 | + * @param string $name |
|
| 496 | + */ |
|
| 494 | 497 | public function setName($name) |
| 495 | 498 | { |
| 496 | 499 | $this->name = $name; |
@@ -38,6 +38,7 @@ |
||
| 38 | 38 | /** |
| 39 | 39 | * Parse attendee property |
| 40 | 40 | * @param string $iCalPropertyName |
| 41 | + * @param string $iCalPropertyValue |
|
| 41 | 42 | * @return array |
| 42 | 43 | */ |
| 43 | 44 | function caldav_getAttendeeProp($iCalPropertyName, $iCalPropertyValue) |
@@ -492,7 +492,7 @@ discard block |
||
| 492 | 492 | * PUBLISH | REQUEST | REPLY | ADD | CANCEL | REFRESH | COUNTER | DECLINECOUNTER |
| 493 | 493 | * |
| 494 | 494 | * |
| 495 | - * @return bool true if the period was correctly saved. |
|
| 495 | + * @return null|boolean true if the period was correctly saved. |
|
| 496 | 496 | */ |
| 497 | 497 | public function savePeriod(bab_CalendarPeriod $period, $method = null) |
| 498 | 498 | { |
@@ -722,6 +722,7 @@ discard block |
||
| 722 | 722 | * T6775 : probablement plusieurs EXDATE dans le meme evenement |
| 723 | 723 | * |
| 724 | 724 | * @param string | array $properties |
| 725 | + * @param string $properties |
|
| 725 | 726 | * @return array |
| 726 | 727 | */ |
| 727 | 728 | private function explodeRules($properties) |
@@ -1225,7 +1226,7 @@ discard block |
||
| 1225 | 1226 | * |
| 1226 | 1227 | * @param caldav_PersonalCalendar $calendar |
| 1227 | 1228 | * @param bab_CalendarPeriod $period |
| 1228 | - * @return unknown_type |
|
| 1229 | + * @return boolean|null |
|
| 1229 | 1230 | */ |
| 1230 | 1231 | private function deletePeriodForUser(caldav_PersonalCalendar $calendar, bab_CalendarPeriod $period) |
| 1231 | 1232 | { |
@@ -1405,7 +1406,7 @@ discard block |
||
| 1405 | 1406 | * @param bab_PersonalCalendar $calendar the personal calendar used as an attendee |
| 1406 | 1407 | * @param string $partstat ACCEPTED | DECLINED |
| 1407 | 1408 | * @param string $comment comment given when changing PARTSTAT (optional) |
| 1408 | - * @return bool |
|
| 1409 | + * @return null|boolean |
|
| 1409 | 1410 | */ |
| 1410 | 1411 | public function updateAttendeePartstat(bab_CalendarPeriod $period, bab_PersonalCalendar $calendar, $partstat, $comment = '') |
| 1411 | 1412 | { |
@@ -1450,7 +1451,6 @@ discard block |
||
| 1450 | 1451 | |
| 1451 | 1452 | /** |
| 1452 | 1453 | * @param $object |
| 1453 | - * @param array $privileges |
|
| 1454 | 1454 | * @param array<int> $users Ovidentia user ids |
| 1455 | 1455 | * @param string $changeType 'grant' or 'deny' |
| 1456 | 1456 | */ |
@@ -1851,7 +1851,8 @@ discard block |
||
| 1851 | 1851 | |
| 1852 | 1852 | /** |
| 1853 | 1853 | * Get username and password to use for personnal calendar |
| 1854 | - * @return array |
|
| 1854 | + * @param integer $userId |
|
| 1855 | + * @return string[] |
|
| 1855 | 1856 | */ |
| 1856 | 1857 | public function getPersonalCalendarCredentials($userId) |
| 1857 | 1858 | { |
@@ -1869,6 +1870,9 @@ discard block |
||
| 1869 | 1870 | |
| 1870 | 1871 | |
| 1871 | 1872 | |
| 1873 | + /** |
|
| 1874 | + * @param integer $userId |
|
| 1875 | + */ |
|
| 1872 | 1876 | public function getPersonnalCalendarUrl($userId) |
| 1873 | 1877 | { |
| 1874 | 1878 | if ($this->configByUser()) |
@@ -1968,7 +1972,6 @@ discard block |
||
| 1968 | 1972 | * @param string $password |
| 1969 | 1973 | * |
| 1970 | 1974 | * @param int $userId The ovidentia user id. |
| 1971 | - * @param string $identifier The caldav user identifier. |
|
| 1972 | 1975 | * |
| 1973 | 1976 | * @return Func_CalendarBackend_Caldav |
| 1974 | 1977 | */ |