@@ -321,6 +321,10 @@ discard block |
||
321 | 321 | return $item; |
322 | 322 | } |
323 | 323 | |
324 | + /** |
|
325 | + * @param integer $docId |
|
326 | + * @param string $annotationId |
|
327 | + */ |
|
324 | 328 | public static function loadAnnotationsForAnnotator($docId, $annotationId = null, $userId = null) |
325 | 329 | { |
326 | 330 | $annotations = static::where('doc_id', '=', $docId); |
@@ -416,6 +420,9 @@ discard block |
||
416 | 420 | return $obj; |
417 | 421 | } |
418 | 422 | |
423 | + /** |
|
424 | + * @param string $action |
|
425 | + */ |
|
419 | 426 | public static function getMetaCount($id, $action) |
420 | 427 | { |
421 | 428 | $annotation = static::where('annotation_id', '=', $id); |
@@ -477,7 +484,7 @@ discard block |
||
477 | 484 | * |
478 | 485 | * @param null |
479 | 486 | * |
480 | - * @return url |
|
487 | + * @return string |
|
481 | 488 | */ |
482 | 489 | public function getLink() |
483 | 490 | { |