| @@ 489-495 (lines=7) @@ | ||
| 486 | $result = preg_replace('/^TEL;TYPE="([^"]+)":/m', 'TEL;TYPE=$1:', |
|
| 487 | $vCard->exportvCalendar($_charset)); |
|
| 488 | ||
| 489 | if ($this->log) |
|
| 490 | { |
|
| 491 | error_log(__FILE__.'['.__LINE__.'] '.__METHOD__ . |
|
| 492 | "() '$this->productManufacturer','$this->productName'\n",3,$this->logfile); |
|
| 493 | error_log(__FILE__.'['.__LINE__.'] '.__METHOD__."()\n" . |
|
| 494 | array2string($result)."\n",3,$this->logfile); |
|
| 495 | } |
|
| 496 | return $result; |
|
| 497 | } |
|
| 498 | ||
| @@ 1011-1017 (lines=7) @@ | ||
| 1008 | ||
| 1009 | $this->fixup_contact($contact); |
|
| 1010 | ||
| 1011 | if ($this->log) |
|
| 1012 | { |
|
| 1013 | error_log(__FILE__.'['.__LINE__.'] '.__METHOD__ . |
|
| 1014 | "() '$this->productManufacturer','$this->productName'\n",3,$this->logfile); |
|
| 1015 | error_log(__FILE__.'['.__LINE__.'] '.__METHOD__."()\n" . |
|
| 1016 | array2string($contact)."\n",3,$this->logfile); |
|
| 1017 | } |
|
| 1018 | return $contact; |
|
| 1019 | } |
|
| 1020 | ||
| @@ 1157-1163 (lines=7) @@ | ||
| 1154 | } |
|
| 1155 | $sifEvent .= "</appointment>"; |
|
| 1156 | ||
| 1157 | if ($this->log) |
|
| 1158 | { |
|
| 1159 | error_log(__FILE__.'['.__LINE__.'] '.__METHOD__ . |
|
| 1160 | "() '$this->productName','$this->productSoftwareVersion'\n",3,$this->logfile); |
|
| 1161 | error_log(__FILE__.'['.__LINE__.'] '.__METHOD__ . |
|
| 1162 | "()\n".array2string($sifEvent)."\n",3,$this->logfile); |
|
| 1163 | } |
|
| 1164 | ||
| 1165 | return $sifEvent; |
|
| 1166 | } |
|
| @@ 1051-1057 (lines=7) @@ | ||
| 1048 | } |
|
| 1049 | ||
| 1050 | $retval = $events_exported ? $vcal->exportvCalendar() : false; |
|
| 1051 | if ($this->log) |
|
| 1052 | { |
|
| 1053 | error_log(__FILE__.'['.__LINE__.'] '.__METHOD__ . |
|
| 1054 | "() '$this->productManufacturer','$this->productName'\n",3,$this->logfile); |
|
| 1055 | error_log(__FILE__.'['.__LINE__.'] '.__METHOD__ . |
|
| 1056 | "()\n".array2string($retval)."\n",3,$this->logfile); |
|
| 1057 | } |
|
| 1058 | return $retval; |
|
| 1059 | } |
|
| 1060 | ||