@@ -179,7 +179,7 @@ |
||
| 179 | 179 | * Returns the value of the TSlider control. |
| 180 | 180 | * This method is required by {@link IDataRenderer}. |
| 181 | 181 | * It is the same as {@link getValue()}. |
| 182 | - * @return string the value of the TSlider control. |
|
| 182 | + * @return double the value of the TSlider control. |
|
| 183 | 183 | * @see getValue |
| 184 | 184 | */ |
| 185 | 185 | public function getData() |
@@ -229,7 +229,7 @@ discard block |
||
| 229 | 229 | } |
| 230 | 230 | |
| 231 | 231 | /** |
| 232 | - * @return TDisplayStyle display style |
|
| 232 | + * @return string display style |
|
| 233 | 233 | */ |
| 234 | 234 | public function getDisplayStyle() |
| 235 | 235 | { |
@@ -286,6 +286,7 @@ discard block |
||
| 286 | 286 | * Sets custom style fields from a string. |
| 287 | 287 | * Custom style fields will be overwritten by style fields explicitly defined. |
| 288 | 288 | * @param string the custom style of the control |
| 289 | + * @param string $value |
|
| 289 | 290 | */ |
| 290 | 291 | public function setCustomStyle($value) |
| 291 | 292 | { |
@@ -305,6 +306,8 @@ discard block |
||
| 305 | 306 | * Style fields set by this method will overwrite those set by {@link setCustomStyle}. |
| 306 | 307 | * @param string style field name |
| 307 | 308 | * @param string style field value |
| 309 | + * @param string $name |
|
| 310 | + * @param string $value |
|
| 308 | 311 | */ |
| 309 | 312 | public function setStyleField($name,$value) |
| 310 | 313 | { |
@@ -695,7 +698,7 @@ discard block |
||
| 695 | 698 | |
| 696 | 699 | |
| 697 | 700 | /** |
| 698 | - * @return boolean whether the table borders should be collapsed. Defaults to false. |
|
| 701 | + * @return boolean|null whether the table borders should be collapsed. Defaults to false. |
|
| 699 | 702 | */ |
| 700 | 703 | public function getBorderCollapse() |
| 701 | 704 | { |
@@ -858,7 +861,7 @@ discard block |
||
| 858 | 861 | } |
| 859 | 862 | |
| 860 | 863 | /** |
| 861 | - * @return boolean whether the content wraps within the table item. Defaults to true. |
|
| 864 | + * @return boolean|null whether the content wraps within the table item. Defaults to true. |
|
| 862 | 865 | */ |
| 863 | 866 | public function getWrap() |
| 864 | 867 | { |
@@ -144,6 +144,7 @@ discard block |
||
| 144 | 144 | |
| 145 | 145 | /** |
| 146 | 146 | * @param string table caption |
| 147 | + * @param string $value |
|
| 147 | 148 | */ |
| 148 | 149 | public function setCaption($value) |
| 149 | 150 | { |
@@ -160,6 +161,7 @@ discard block |
||
| 160 | 161 | |
| 161 | 162 | /** |
| 162 | 163 | * @param TTableCaptionAlign table caption alignment. |
| 164 | + * @param TTableCaptionAlign $value |
|
| 163 | 165 | */ |
| 164 | 166 | public function setCaptionAlign($value) |
| 165 | 167 | { |
@@ -546,7 +546,7 @@ discard block |
||
| 546 | 546 | private $_active=false; |
| 547 | 547 | |
| 548 | 548 | /** |
| 549 | - * @return the tag name for the view element |
|
| 549 | + * @return string tag name for the view element |
|
| 550 | 550 | */ |
| 551 | 551 | protected function getTagName() |
| 552 | 552 | { |
@@ -714,6 +714,7 @@ discard block |
||
| 714 | 714 | /** |
| 715 | 715 | * Finds the index of the tab view whose ID is the same as the one being looked for. |
| 716 | 716 | * @param string the explicit ID of the tab view to be looked for |
| 717 | + * @param string $id |
|
| 717 | 718 | * @return integer the index of the tab view found, -1 if not found. |
| 718 | 719 | */ |
| 719 | 720 | public function findIndexByID($id) |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | /** |
| 121 | - * @return ITemplate the item template |
|
| 121 | + * @return string the item template |
|
| 122 | 122 | */ |
| 123 | 123 | public function getItemTemplate() |
| 124 | 124 | { |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | /** |
| 238 | 238 | * Returns the value to be validated. |
| 239 | 239 | * This methid is required by IValidatable interface. |
| 240 | - * @return mixed the value of the property to be validated. |
|
| 240 | + * @return string the value of the property to be validated. |
|
| 241 | 241 | */ |
| 242 | 242 | public function getValidationPropertyValue() |
| 243 | 243 | { |
@@ -342,6 +342,7 @@ discard block |
||
| 342 | 342 | * An automatic postback to the server will occur whenever the user |
| 343 | 343 | * modifies the text in the TTextBox control and then tabs out of the component. |
| 344 | 344 | * @param boolean the value indicating if postback automatically |
| 345 | + * @param boolean $value |
|
| 345 | 346 | */ |
| 346 | 347 | public function setAutoPostBack($value) |
| 347 | 348 | { |
@@ -425,6 +426,7 @@ discard block |
||
| 425 | 426 | |
| 426 | 427 | /** |
| 427 | 428 | * @param boolean whether the textbox is read only |
| 429 | + * @param boolean $value |
|
| 428 | 430 | */ |
| 429 | 431 | public function setReadOnly($value) |
| 430 | 432 | { |
@@ -157,6 +157,7 @@ |
||
| 157 | 157 | * Processes a text string. |
| 158 | 158 | * This method is required by the parent class. |
| 159 | 159 | * @param string text string to be processed |
| 160 | + * @param string $text |
|
| 160 | 161 | * @return string the processed text result |
| 161 | 162 | */ |
| 162 | 163 | public function processText($text) |
@@ -55,6 +55,7 @@ discard block |
||
| 55 | 55 | * control does work with javascript and your class wants to flag that it requires an id |
| 56 | 56 | * to operate properly. Once set to true, it stays that way. |
| 57 | 57 | * @param boolean pass true to enable enforcement of the tag attribute id. |
| 58 | + * @param boolean $value |
|
| 58 | 59 | */ |
| 59 | 60 | public function setEnsureId($value) |
| 60 | 61 | { |
@@ -62,7 +63,7 @@ discard block |
||
| 62 | 63 | } |
| 63 | 64 | |
| 64 | 65 | /** |
| 65 | - * @return whether this web control must have an id |
|
| 66 | + * @return boolean this web control must have an id |
|
| 66 | 67 | */ |
| 67 | 68 | public function getEnsureId() |
| 68 | 69 | { |
@@ -215,6 +216,7 @@ discard block |
||
| 215 | 216 | |
| 216 | 217 | /** |
| 217 | 218 | * @param string the foreground color of the control |
| 219 | + * @param string $value |
|
| 218 | 220 | */ |
| 219 | 221 | public function setForeColor($value) |
| 220 | 222 | { |
@@ -241,7 +243,7 @@ discard block |
||
| 241 | 243 | } |
| 242 | 244 | |
| 243 | 245 | /** |
| 244 | - * @return TDisplayStyle display style of the control, default is TDisplayStyle::Fixed |
|
| 246 | + * @return string display style of the control, default is TDisplayStyle::Fixed |
|
| 245 | 247 | */ |
| 246 | 248 | public function getDisplay() |
| 247 | 249 | { |
@@ -269,6 +271,7 @@ discard block |
||
| 269 | 271 | |
| 270 | 272 | /** |
| 271 | 273 | * @param string the height of the control |
| 274 | + * @param string $value |
|
| 272 | 275 | */ |
| 273 | 276 | public function setHeight($value) |
| 274 | 277 | { |
@@ -390,6 +393,7 @@ discard block |
||
| 390 | 393 | |
| 391 | 394 | /** |
| 392 | 395 | * @param string the width of the control |
| 396 | + * @param string $value |
|
| 393 | 397 | */ |
| 394 | 398 | public function setWidth($value) |
| 395 | 399 | { |
@@ -664,6 +664,7 @@ discard block |
||
| 664 | 664 | * This event is raised when a cancel navigation button is clicked in the |
| 665 | 665 | * current active step. |
| 666 | 666 | * @param TEventParameter event parameter |
| 667 | + * @param TCommandEventParameter $param |
|
| 667 | 668 | */ |
| 668 | 669 | public function onCancelButtonClick($param) |
| 669 | 670 | { |
@@ -677,6 +678,7 @@ discard block |
||
| 677 | 678 | * This event is raised when a finish navigation button is clicked in the |
| 678 | 679 | * current active step. |
| 679 | 680 | * @param TWizardNavigationEventParameter event parameter |
| 681 | + * @param TWizardNavigationEventParameter $param |
|
| 680 | 682 | */ |
| 681 | 683 | public function onCompleteButtonClick($param) |
| 682 | 684 | { |
@@ -690,6 +692,7 @@ discard block |
||
| 690 | 692 | * This event is raised when a next navigation button is clicked in the |
| 691 | 693 | * current active step. |
| 692 | 694 | * @param TWizardNavigationEventParameter event parameter |
| 695 | + * @param TWizardNavigationEventParameter $param |
|
| 693 | 696 | */ |
| 694 | 697 | public function onNextButtonClick($param) |
| 695 | 698 | { |
@@ -701,6 +704,7 @@ discard block |
||
| 701 | 704 | * This event is raised when a previous navigation button is clicked in the |
| 702 | 705 | * current active step. |
| 703 | 706 | * @param TWizardNavigationEventParameter event parameter |
| 707 | + * @param TWizardNavigationEventParameter $param |
|
| 704 | 708 | */ |
| 705 | 709 | public function onPreviousButtonClick($param) |
| 706 | 710 | { |
@@ -711,6 +715,7 @@ discard block |
||
| 711 | 715 | * Raises <b>OnSideBarButtonClick</b> event. |
| 712 | 716 | * This event is raised when a link button in the side bar is clicked. |
| 713 | 717 | * @param TWizardNavigationEventParameter event parameter |
| 718 | + * @param TWizardNavigationEventParameter $param |
|
| 714 | 719 | */ |
| 715 | 720 | public function onSideBarButtonClick($param) |
| 716 | 721 | { |
@@ -739,6 +744,7 @@ discard block |
||
| 739 | 744 | * This method should only be used by control developers. |
| 740 | 745 | * It is invoked when a step is added into the step collection of the wizard. |
| 741 | 746 | * @param TWizardStep wizard step to be added into multiview. |
| 747 | + * @param TWizardStep $step |
|
| 742 | 748 | */ |
| 743 | 749 | public function addedWizardStep($step) |
| 744 | 750 | { |
@@ -1282,6 +1288,7 @@ discard block |
||
| 1282 | 1288 | * Determines the index of the previous step based on history. |
| 1283 | 1289 | * @param boolean whether the first item in the history stack should be popped |
| 1284 | 1290 | * up after calling this method. |
| 1291 | + * @param boolean $popStack |
|
| 1285 | 1292 | */ |
| 1286 | 1293 | protected function getPreviousStepIndex($popStack) |
| 1287 | 1294 | { |
@@ -1325,6 +1332,7 @@ discard block |
||
| 1325 | 1332 | |
| 1326 | 1333 | /** |
| 1327 | 1334 | * @param integer index of the step |
| 1335 | + * @param integer $index |
|
| 1328 | 1336 | * @return boolean whether navigation to the specified step is allowed |
| 1329 | 1337 | */ |
| 1330 | 1338 | protected function allowNavigationToStep($index) |
@@ -1837,6 +1845,7 @@ discard block |
||
| 1837 | 1845 | /** |
| 1838 | 1846 | * Constructor. |
| 1839 | 1847 | * @param integer current step index |
| 1848 | + * @param integer $currentStep |
|
| 1840 | 1849 | */ |
| 1841 | 1850 | public function __construct($currentStep) |
| 1842 | 1851 | { |
@@ -1878,6 +1887,7 @@ discard block |
||
| 1878 | 1887 | |
| 1879 | 1888 | /** |
| 1880 | 1889 | * @param boolean whether navigation to the next step should be canceled. |
| 1890 | + * @param boolean $value |
|
| 1881 | 1891 | */ |
| 1882 | 1892 | public function setCancelNavigation($value) |
| 1883 | 1893 | { |
@@ -1945,6 +1955,7 @@ discard block |
||
| 1945 | 1955 | /** |
| 1946 | 1956 | * Constructor. |
| 1947 | 1957 | * @param TWizard the wizard owning this template |
| 1958 | + * @param TWizard $wizard |
|
| 1948 | 1959 | */ |
| 1949 | 1960 | public function __construct($wizard) |
| 1950 | 1961 | { |
@@ -1975,6 +1986,8 @@ discard block |
||
| 1975 | 1986 | * @param TWizardNavigationButtonStyle button style |
| 1976 | 1987 | * @param boolean whether the button should cause validation |
| 1977 | 1988 | * @param string command name for the button's OnCommand event |
| 1989 | + * @param TWizardNavigationButtonStyle $buttonStyle |
|
| 1990 | + * @param boolean $causesValidation |
|
| 1978 | 1991 | * @throws TInvalidDataValueException if the button type is not recognized |
| 1979 | 1992 | */ |
| 1980 | 1993 | protected function createNavigationButton($buttonStyle,$causesValidation,$commandName) |