@@ -60,7 +60,7 @@ |
||
| 60 | 60 | * Freeze the element so that only its value is returned |
| 61 | 61 | * |
| 62 | 62 | * @access public |
| 63 | - * @return void |
|
| 63 | + * @return boolean |
|
| 64 | 64 | */ |
| 65 | 65 | function freeze() |
| 66 | 66 | { |
@@ -54,6 +54,8 @@ |
||
| 54 | 54 | * @param string Input field name attribute |
| 55 | 55 | * @param mixed Label(s) for a field |
| 56 | 56 | * @param mixed Either a typical HTML attribute string or an associative array |
| 57 | + * @param string $elementName |
|
| 58 | + * @param string $elementLabel |
|
| 57 | 59 | * @since 1.0 |
| 58 | 60 | * @access public |
| 59 | 61 | * @return void |
@@ -665,7 +665,7 @@ discard block |
||
| 665 | 665 | * Adds a table row and returns the row identifier |
| 666 | 666 | * @param array $contents (optional) Must be a indexed array of |
| 667 | 667 | * valid cell contents |
| 668 | - * @param mixed $attributes (optional) Associative array or string |
|
| 668 | + * @param string $attributes (optional) Associative array or string |
|
| 669 | 669 | * of table row attributes. This can also |
| 670 | 670 | * be an array of attributes, in which |
| 671 | 671 | * case the attributes will be repeated |
@@ -719,7 +719,7 @@ discard block |
||
| 719 | 719 | /** |
| 720 | 720 | * Updates the row attributes for an existing row |
| 721 | 721 | * @param int $row Row index |
| 722 | - * @param mixed $attributes Associative array or string of table row |
|
| 722 | + * @param string $attributes Associative array or string of table row |
|
| 723 | 723 | * attributes |
| 724 | 724 | * @param bool $inTR false if attributes are to be applied in |
| 725 | 725 | * TD tags; true if attributes are to be |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | /** |
| 166 | 166 | * Returns the autoFill value |
| 167 | 167 | * @access public |
| 168 | - * @return mixed |
|
| 168 | + * @return string |
|
| 169 | 169 | */ |
| 170 | 170 | function getAutoFill() |
| 171 | 171 | { |
@@ -174,7 +174,6 @@ discard block |
||
| 174 | 174 | |
| 175 | 175 | /** |
| 176 | 176 | * Sets the autoGrow value |
| 177 | - * @param bool $fill |
|
| 178 | 177 | * @access public |
| 179 | 178 | */ |
| 180 | 179 | function setAutoGrow($grow) |
@@ -185,7 +184,7 @@ discard block |
||
| 185 | 184 | /** |
| 186 | 185 | * Returns the autoGrow value |
| 187 | 186 | * @access public |
| 188 | - * @return mixed |
|
| 187 | + * @return boolean |
|
| 189 | 188 | */ |
| 190 | 189 | function getAutoGrow() |
| 191 | 190 | { |
@@ -328,8 +328,8 @@ discard block |
||
| 328 | 328 | * the Image_Text object after changing options. For possible options, please |
| 329 | 329 | * take a look at the class options array! |
| 330 | 330 | * |
| 331 | - * @param array|string $option A single option name or the options array. |
|
| 332 | - * @param mixed $value Option value if $option is string. |
|
| 331 | + * @param string $option A single option name or the options array. |
|
| 332 | + * @param string $value Option value if $option is string. |
|
| 333 | 333 | * |
| 334 | 334 | * @return void |
| 335 | 335 | * @see Image_Text::Image_Text() |
@@ -982,7 +982,7 @@ discard block |
||
| 982 | 982 | * @param bool $save Save or not the image on printout. |
| 983 | 983 | * @param bool $free Free the image on exit. |
| 984 | 984 | * |
| 985 | - * @return bool True on success |
|
| 985 | + * @return boolean|null True on success |
|
| 986 | 986 | * @see Image_Text::save() |
| 987 | 987 | * @throws Image_Text_Exception |
| 988 | 988 | */ |
@@ -1133,7 +1133,7 @@ discard block |
||
| 1133 | 1133 | * @param string $scolor string of colorcode. |
| 1134 | 1134 | * |
| 1135 | 1135 | * @see Image_Text::IMAGE_TEXT_REGEX_HTMLCOLOR |
| 1136 | - * @return bool|array false if string can't be converted to array |
|
| 1136 | + * @return resource false if string can't be converted to array |
|
| 1137 | 1137 | */ |
| 1138 | 1138 | public static function convertString2RGB($scolor) |
| 1139 | 1139 | { |
@@ -286,7 +286,7 @@ |
||
| 286 | 286 | * |
| 287 | 287 | * @access private |
| 288 | 288 | * @param integer $blockId the block id of the first block |
| 289 | - * @return mixed true on success, PEAR_Error on failure |
|
| 289 | + * @return boolean true on success, PEAR_Error on failure |
|
| 290 | 290 | */ |
| 291 | 291 | function _readPpsWks($blockId) |
| 292 | 292 | { |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | * |
| 64 | 64 | * @access public |
| 65 | 65 | * @param string $dir The dir to be used as temp dir |
| 66 | - * @return true if given dir is valid, false otherwise |
|
| 66 | + * @return boolean if given dir is valid, false otherwise |
|
| 67 | 67 | */ |
| 68 | 68 | function setTempDir($dir) |
| 69 | 69 | { |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | * |
| 66 | 66 | * @access public |
| 67 | 67 | * @param string $dir The dir to be used as temp dir |
| 68 | - * @return true if given dir is valid, false otherwise |
|
| 68 | + * @return boolean if given dir is valid, false otherwise |
|
| 69 | 69 | */ |
| 70 | 70 | function setTempDir($dir) |
| 71 | 71 | { |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | * |
| 143 | 143 | * @access private |
| 144 | 144 | * @param array $raList Reference to an array of PPS's |
| 145 | - * @return array The array of numbers |
|
| 145 | + * @return double[] The array of numbers |
|
| 146 | 146 | */ |
| 147 | 147 | function _calcSize(&$raList) |
| 148 | 148 | { |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | * @access private |
| 181 | 181 | * @param integer $i2 The argument |
| 182 | 182 | * @see save() |
| 183 | - * @return integer |
|
| 183 | + * @return double |
|
| 184 | 184 | */ |
| 185 | 185 | function _adjust2($i2) |
| 186 | 186 | { |
@@ -592,7 +592,7 @@ discard block |
||
| 592 | 592 | * |
| 593 | 593 | * @param integer $index Offset to get pageID for |
| 594 | 594 | * |
| 595 | - * @return integer PageID for given offset |
|
| 595 | + * @return PEAR_Error PageID for given offset |
|
| 596 | 596 | * @access public |
| 597 | 597 | */ |
| 598 | 598 | function getPageIdByOffset($index) |
@@ -612,7 +612,7 @@ discard block |
||
| 612 | 612 | * |
| 613 | 613 | * @param integer $pageID PageID to get offsets for |
| 614 | 614 | * |
| 615 | - * @return array First and last offsets |
|
| 615 | + * @return integer[] First and last offsets |
|
| 616 | 616 | * @access public |
| 617 | 617 | */ |
| 618 | 618 | function getOffsetByPageId($pageID = null) |
@@ -639,7 +639,7 @@ discard block |
||
| 639 | 639 | * |
| 640 | 640 | * @param integer $pageID PageID to get offsets for |
| 641 | 641 | * |
| 642 | - * @return array First and last offsets |
|
| 642 | + * @return PEAR_Error First and last offsets |
|
| 643 | 643 | * @access public |
| 644 | 644 | */ |
| 645 | 645 | function getPageRangeByPageId($pageID = null) |
@@ -668,7 +668,7 @@ discard block |
||
| 668 | 668 | * @param string $next_html HTML to put inside the next link |
| 669 | 669 | * [deprecated: use the factory instead] |
| 670 | 670 | * |
| 671 | - * @return array back/next/first/last and page links |
|
| 671 | + * @return PEAR_Error back/next/first/last and page links |
|
| 672 | 672 | * @access public |
| 673 | 673 | */ |
| 674 | 674 | function getLinks($pageID=null, $next_html='') |
@@ -698,7 +698,7 @@ discard block |
||
| 698 | 698 | * Returns next page ID. If current page is last page |
| 699 | 699 | * this function returns FALSE |
| 700 | 700 | * |
| 701 | - * @return mixed Next page ID or false |
|
| 701 | + * @return integer Next page ID or false |
|
| 702 | 702 | * @access public |
| 703 | 703 | */ |
| 704 | 704 | function getNextPageID() |
@@ -713,7 +713,7 @@ discard block |
||
| 713 | 713 | * Returns previous page ID. If current page is first page |
| 714 | 714 | * this function returns FALSE |
| 715 | 715 | * |
| 716 | - * @return mixed Previous page ID or false |
|
| 716 | + * @return integer Previous page ID or false |
|
| 717 | 717 | * @access public |
| 718 | 718 | */ |
| 719 | 719 | function getPreviousPageID() |
@@ -994,7 +994,7 @@ discard block |
||
| 994 | 994 | * |
| 995 | 995 | * @param string $string the pattern to check |
| 996 | 996 | * |
| 997 | - * @return boolean |
|
| 997 | + * @return integer |
|
| 998 | 998 | * @access private |
| 999 | 999 | */ |
| 1000 | 1000 | function _isRegexp($string) { |
@@ -1136,7 +1136,7 @@ discard block |
||
| 1136 | 1136 | * |
| 1137 | 1137 | * @param string $url URL to use in the link [deprecated: use the factory instead] |
| 1138 | 1138 | * |
| 1139 | - * @return string Links |
|
| 1139 | + * @return PEAR_Error Links |
|
| 1140 | 1140 | * @access private |
| 1141 | 1141 | */ |
| 1142 | 1142 | function _getPageLinks($url='') |