@@ -115,6 +115,9 @@ discard block |
||
115 | 115 | return $this->printrequests; |
116 | 116 | } |
117 | 117 | |
118 | + /** |
|
119 | + * @param boolean $hasTemplates |
|
120 | + */ |
|
118 | 121 | public function hasTemplates( $hasTemplates = null ) { |
119 | 122 | $ret = $this->hasTemplates; |
120 | 123 | if ( is_bool( $hasTemplates ) ) { |
@@ -258,6 +261,9 @@ discard block |
||
258 | 261 | return ( $force ) ? $this->mLinker : parent::getLinker( $firstcol ); |
259 | 262 | } |
260 | 263 | |
264 | + /** |
|
265 | + * @param string $id |
|
266 | + */ |
|
261 | 267 | private function addConfigToOutput( $id, $config ) { |
262 | 268 | |
263 | 269 | if ( $this->getParser()->getOutput() !== null ) { |
@@ -3,7 +3,7 @@ |
||
3 | 3 | namespace SRF\iCalendar; |
4 | 4 | |
5 | 5 | use SRF\iCalendar\IcalTimezoneFormatter; |
6 | -use SMWQueryResult as QueryResult; |
|
6 | +use SMWQueryResult as QueryResult; |
|
7 | 7 | use SMWQueryProcessor as QueryProcessor; |
8 | 8 | use SMWQuery as Query; |
9 | 9 | use SMWExportPrinter as FileExportPrinter; |
@@ -113,6 +113,9 @@ discard block |
||
113 | 113 | return $result; |
114 | 114 | } |
115 | 115 | |
116 | + /** |
|
117 | + * @param QueryResult $res |
|
118 | + */ |
|
116 | 119 | private function getVCardContent( $res ) { |
117 | 120 | |
118 | 121 | $result = ''; |
@@ -402,6 +405,9 @@ discard block |
||
402 | 405 | return $list; |
403 | 406 | } |
404 | 407 | |
408 | + /** |
|
409 | + * @return string |
|
410 | + */ |
|
405 | 411 | private function getFieldValue( $field ) { |
406 | 412 | |
407 | 413 | $v = ''; |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace SRF\vCard; |
4 | 4 | |
5 | -use SMWQueryResult as QueryResult; |
|
5 | +use SMWQueryResult as QueryResult; |
|
6 | 6 | use SMWQueryProcessor as QueryProcessor; |
7 | 7 | use SMWQuery as Query; |
8 | 8 | use SMWExportPrinter as FileExportPrinter; |