| @@ -26,6 +26,9 @@ | ||
| 26 | 26 | |
| 27 | 27 | protected $m_date; // the Julian day | 
| 28 | 28 | |
| 29 | + /** | |
| 30 | + * @param integer $day | |
| 31 | + */ | |
| 29 | 32 |  	function create( $year, $month, $day ) { | 
| 30 | 33 | if ( $year < 1582 || | 
| 31 | 34 |  			( $year == 1582 && ( $month < 10 || ( $month == 10 && $day < 15 ) ) ) ) { | 
| @@ -51,7 +51,7 @@ | ||
| 51 | 51 | * @since 1.8 | 
| 52 | 52 | * | 
| 53 | 53 | * @param SMWQueryResult $result | 
| 54 | - * @param $outputMode | |
| 54 | + * @param integer $outputMode | |
| 55 | 55 | * | 
| 56 | 56 | * @return array | 
| 57 | 57 | */ | 
| @@ -30,6 +30,10 @@ | ||
| 30 | 30 | } | 
| 31 | 31 | |
| 32 | 32 | // /Tries to determine the namespace in the event it got lost | 
| 33 | + | |
| 34 | + /** | |
| 35 | + * @param SMWQueryResult $res | |
| 36 | + */ | |
| 33 | 37 |  	protected function determineNamespace( $res ) { | 
| 34 | 38 | $row = $res->getNext(); | 
| 35 | 39 |  		if ( $row != null ) { | 
| @@ -505,8 +505,8 @@ discard block | ||
| 505 | 505 | * This method should be used for getting new or existing nodes | 
| 506 | 506 | * If a node does not exist yet, it will be created | 
| 507 | 507 | * | 
| 508 | - * @param $id string, node id | |
| 509 | - * @param $label string, node label | |
| 508 | + * @param string $id string, node id | |
| 509 | + * @param string $label string, node label | |
| 510 | 510 | * @return Object of type ProcessNode | 
| 511 | 511 | */ | 
| 512 | 512 |  	public function makeNode( $id, $label ) { | 
| @@ -542,6 +542,10 @@ discard block | ||
| 542 | 542 | |
| 543 | 543 | } | 
| 544 | 544 | |
| 545 | + /** | |
| 546 | + * @param string $id | |
| 547 | + * @param string $label | |
| 548 | + */ | |
| 545 | 549 |  	public function makeRole( $id, $label ) { | 
| 546 | 550 | // check if role exists | 
| 547 | 551 |  		if ( isset( $this->m_roles[$id] ) ) { | 
| @@ -561,6 +565,10 @@ discard block | ||
| 561 | 565 | |
| 562 | 566 | } | 
| 563 | 567 | |
| 568 | + /** | |
| 569 | + * @param string $id | |
| 570 | + * @param string $label | |
| 571 | + */ | |
| 564 | 572 |  	public function makeRessource( $id, $label ) { | 
| 565 | 573 | // check if res exists | 
| 566 | 574 |  		if ( isset( $this->m_ressources[$id] ) ) { | 
| @@ -644,6 +652,9 @@ discard block | ||
| 644 | 652 | return $this->m_showRessources; | 
| 645 | 653 | } | 
| 646 | 654 | |
| 655 | + /** | |
| 656 | + * @param string $name | |
| 657 | + */ | |
| 647 | 658 |  	public function setGraphName( $name ) { | 
| 648 | 659 | $this->m_graphName = $name; | 
| 649 | 660 | } | 
| @@ -653,18 +664,30 @@ discard block | ||
| 653 | 664 | return $this->m_graphName; | 
| 654 | 665 | } | 
| 655 | 666 | |
| 667 | + /** | |
| 668 | + * @param string $size | |
| 669 | + */ | |
| 656 | 670 |  	public function setGraphSize( $size ) { | 
| 657 | 671 | $this->m_graphSize = $size; | 
| 658 | 672 | } | 
| 659 | 673 | |
| 674 | + /** | |
| 675 | + * @param string $rankdir | |
| 676 | + */ | |
| 660 | 677 |  	public function setRankdir( $rankdir ) { | 
| 661 | 678 | $this->m_rankdir = $rankdir; | 
| 662 | 679 | } | 
| 663 | 680 | |
| 681 | + /** | |
| 682 | + * @param string $color | |
| 683 | + */ | |
| 664 | 684 |  	public function setClusterColor( $color ) { | 
| 665 | 685 | $this->m_clusterColor = $color; | 
| 666 | 686 | } | 
| 667 | 687 | |
| 688 | + /** | |
| 689 | + * @param string $color | |
| 690 | + */ | |
| 668 | 691 |  	public function setHighlightColor( $color ) { | 
| 669 | 692 | $this->m_highlightColor = $color; | 
| 670 | 693 | } | 
| @@ -677,6 +700,9 @@ discard block | ||
| 677 | 700 | $this->m_showRedLinks = $show; | 
| 678 | 701 | } | 
| 679 | 702 | |
| 703 | + /** | |
| 704 | + * @param string $name | |
| 705 | + */ | |
| 680 | 706 |  	public function setHighlightNode( $name ) { | 
| 681 | 707 | $this->m_highlightNode = $name; | 
| 682 | 708 | } | 
| @@ -857,10 +883,16 @@ discard block | ||
| 857 | 883 | return $this->m_status; | 
| 858 | 884 | } | 
| 859 | 885 | |
| 886 | + /** | |
| 887 | + * @param string $color | |
| 888 | + */ | |
| 860 | 889 |  	public function setFontColor( $color ) { | 
| 861 | 890 | $this->m_fontColor = $color; | 
| 862 | 891 | } | 
| 863 | 892 | |
| 893 | + /** | |
| 894 | + * @param ProcessGraph $proc | |
| 895 | + */ | |
| 864 | 896 |  	public function setProcess( $proc ) { | 
| 865 | 897 | $this->m_process = $proc; | 
| 866 | 898 | } | 
| @@ -1176,6 +1208,9 @@ discard block | ||
| 1176 | 1208 | $node->addEdgeIn($this); | 
| 1177 | 1209 | } | 
| 1178 | 1210 | |
| 1211 | + /** | |
| 1212 | + * @param string $cond | |
| 1213 | + */ | |
| 1179 | 1214 |  	public function setConditionText($cond){ | 
| 1180 | 1215 | $this->m_con_text = $cond; | 
| 1181 | 1216 | } | 
| @@ -136,7 +136,6 @@ | ||
| 136 | 136 | * | 
| 137 | 137 | * @since 1.8 | 
| 138 | 138 | * | 
| 139 | - * @param array $data | |
| 140 | 139 | * @param $minValue | 
| 141 | 140 | * @param $maxValue | 
| 142 | 141 | * | 
| @@ -45,7 +45,6 @@ discard block | ||
| 45 | 45 | * | 
| 46 | 46 | * @since 1.8 | 
| 47 | 47 | * | 
| 48 | - * @param SMWQueryResult $result | |
| 49 | 48 | * @param $outputMode | 
| 50 | 49 | * | 
| 51 | 50 | * @return array | 
| @@ -250,7 +249,6 @@ discard block | ||
| 250 | 249 | * | 
| 251 | 250 | * @since 1.8 | 
| 252 | 251 | * | 
| 253 | - * @param array $data | |
| 254 | 252 | * | 
| 255 | 253 | * @return string | 
| 256 | 254 | */ | 
| @@ -38,6 +38,7 @@ | ||
| 38 | 38 | |
| 39 | 39 | /** | 
| 40 | 40 | * @see SMWResultPrinter::getResultText() | 
| 41 | + * @param integer $outputmode | |
| 41 | 42 | */ | 
| 42 | 43 |  	protected function getResultText( SMWQueryResult $res, $outputmode ) { | 
| 43 | 44 | $numbers = $this->getNumbers( $res ); | 
| @@ -8,7 +8,6 @@ | ||
| 8 | 8 | use SMWDataValue; | 
| 9 | 9 | use SMWOutputs; | 
| 10 | 10 | use SRFUtils; | 
| 11 | - | |
| 12 | 11 | use FormatJson; | 
| 13 | 12 | use Skin; | 
| 14 | 13 | use Html; | 
| @@ -47,6 +47,9 @@ discard block | ||
| 47 | 47 | $this->mUnsortedItems = $items; | 
| 48 | 48 | } | 
| 49 | 49 | |
| 50 | + /** | |
| 51 | + * @param SRFOutlineItem $item | |
| 52 | + */ | |
| 50 | 53 |  	function addItem( $item ) { | 
| 51 | 54 | $this->mUnsortedItems[] = $item; | 
| 52 | 55 | } | 
| @@ -135,6 +138,9 @@ discard block | ||
| 135 | 138 | return $result; | 
| 136 | 139 | } | 
| 137 | 140 | |
| 141 | + /** | |
| 142 | + * @param SRFOutlineTree $outline_tree | |
| 143 | + */ | |
| 138 | 144 |  	function printTree( $outline_tree, $level = 0 ) { | 
| 139 | 145 | $text = ""; | 
| 140 | 146 |  		if ( ! is_null( $outline_tree->mUnsortedItems ) ) { |