@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | * the control ID will take the precedence. |
| 210 | 210 | * |
| 211 | 211 | * @param string the property name or control ID |
| 212 | - * @return bool wether the control or property exists |
|
| 212 | + * @return boolean|null wether the control or property exists |
|
| 213 | 213 | * @see __get |
| 214 | 214 | */ |
| 215 | 215 | public function __isset($name) { |
@@ -286,6 +286,7 @@ discard block |
||
| 286 | 286 | * Sets the page for a control. |
| 287 | 287 | * Only framework developers should use this method. |
| 288 | 288 | * @param TPage the page that contains this control |
| 289 | + * @param TPage $page |
|
| 289 | 290 | */ |
| 290 | 291 | public function setPage($page) |
| 291 | 292 | { |
@@ -567,6 +568,7 @@ discard block |
||
| 567 | 568 | |
| 568 | 569 | /** |
| 569 | 570 | * @param boolean whether the control is visible |
| 571 | + * @param boolean $value |
|
| 570 | 572 | */ |
| 571 | 573 | public function setVisible($value) |
| 572 | 574 | { |
@@ -634,6 +636,7 @@ discard block |
||
| 634 | 636 | } |
| 635 | 637 | |
| 636 | 638 | /** |
| 639 | + * @param string $name |
|
| 637 | 640 | * @return boolean whether the named attribute exists |
| 638 | 641 | */ |
| 639 | 642 | public function hasAttribute($name) |
@@ -645,6 +648,7 @@ discard block |
||
| 645 | 648 | } |
| 646 | 649 | |
| 647 | 650 | /** |
| 651 | + * @param string $name |
|
| 648 | 652 | * @return string attribute value, null if attribute does not exist |
| 649 | 653 | */ |
| 650 | 654 | public function getAttribute($name) |
@@ -659,6 +663,7 @@ discard block |
||
| 659 | 663 | * Sets a custom control attribute. |
| 660 | 664 | * @param string attribute name |
| 661 | 665 | * @param string value of the attribute |
| 666 | + * @param string $name |
|
| 662 | 667 | */ |
| 663 | 668 | public function setAttribute($name,$value) |
| 664 | 669 | { |
@@ -696,6 +701,7 @@ discard block |
||
| 696 | 701 | |
| 697 | 702 | /** |
| 698 | 703 | * @param boolean set whether to enable viewstate |
| 704 | + * @param boolean $value |
|
| 699 | 705 | */ |
| 700 | 706 | public function setEnableViewState($value) |
| 701 | 707 | { |
@@ -712,6 +718,8 @@ discard block |
||
| 712 | 718 | * that must be kept in controlstate. |
| 713 | 719 | * @param string the name of the controlstate value to be returned |
| 714 | 720 | * @param mixed the default value. If $key is not found in controlstate, $defaultValue will be returned |
| 721 | + * @param string $key |
|
| 722 | + * @param integer $defaultValue |
|
| 715 | 723 | * @return mixed the controlstate value corresponding to $key |
| 716 | 724 | */ |
| 717 | 725 | protected function getControlState($key,$defaultValue=null) |
@@ -728,6 +736,8 @@ discard block |
||
| 728 | 736 | * @param string the name of the controlstate value |
| 729 | 737 | * @param mixed the controlstate value to be set |
| 730 | 738 | * @param mixed default value. If $value===$defaultValue, the item will be cleared from controlstate |
| 739 | + * @param string $key |
|
| 740 | + * @param integer $defaultValue |
|
| 731 | 741 | */ |
| 732 | 742 | protected function setControlState($key,$value,$defaultValue=null) |
| 733 | 743 | { |
@@ -751,6 +761,7 @@ discard block |
||
| 751 | 761 | * When it is false, data saved via setViewState() will not be persisted. |
| 752 | 762 | * By default, it is true, meaning data will be persisted across postbacks. |
| 753 | 763 | * @param boolean whether data should be persisted |
| 764 | + * @param boolean $enabled |
|
| 754 | 765 | */ |
| 755 | 766 | public function trackViewState($enabled) |
| 756 | 767 | { |
@@ -789,6 +800,7 @@ discard block |
||
| 789 | 800 | * @param string the name of the viewstate value |
| 790 | 801 | * @param mixed the viewstate value to be set |
| 791 | 802 | * @param mixed default value. If $value===$defaultValue, the item will be cleared from the viewstate. |
| 803 | + * @param string $key |
|
| 792 | 804 | */ |
| 793 | 805 | public function setViewState($key,$value,$defaultValue=null) |
| 794 | 806 | { |
@@ -813,6 +825,7 @@ discard block |
||
| 813 | 825 | /** |
| 814 | 826 | * Clears a viewstate value. |
| 815 | 827 | * @param string the name of the viewstate value to be cleared |
| 828 | + * @param string $key |
|
| 816 | 829 | */ |
| 817 | 830 | public function clearViewState($key) |
| 818 | 831 | { |
@@ -918,6 +931,7 @@ discard block |
||
| 918 | 931 | * Sets a value indicating whether child controls are created. |
| 919 | 932 | * If false, any existing child controls will be cleared up. |
| 920 | 933 | * @param boolean whether child controls are created |
| 934 | + * @param boolean $value |
|
| 921 | 935 | */ |
| 922 | 936 | final protected function setChildControlsCreated($value) |
| 923 | 937 | { |
@@ -1008,6 +1022,7 @@ discard block |
||
| 1008 | 1022 | * Finds all child and grand-child controls that are of the specified type. |
| 1009 | 1023 | * @param string the class name |
| 1010 | 1024 | * @param boolean whether the type comparison is strict or not. If false, controls of the parent classes of the specified class will also be returned. |
| 1025 | + * @param string $type |
|
| 1011 | 1026 | * @return array list of controls found |
| 1012 | 1027 | */ |
| 1013 | 1028 | public function findControlsByType($type,$strict=true) |
@@ -1142,6 +1157,7 @@ discard block |
||
| 1142 | 1157 | * A component with explicit ID on a template will be registered to |
| 1143 | 1158 | * the template owner. This method allows you to obtain this component |
| 1144 | 1159 | * with the ID. |
| 1160 | + * @param string $name |
|
| 1145 | 1161 | * @return mixed the named registered object. Null if object is not found. |
| 1146 | 1162 | */ |
| 1147 | 1163 | public function getRegisteredObject($name) |
@@ -1199,6 +1215,7 @@ discard block |
||
| 1199 | 1215 | * Control lifecycles will be caught up during the addition. |
| 1200 | 1216 | * Only framework developers should use this method. |
| 1201 | 1217 | * @param TControl the new child control |
| 1218 | + * @param TControl $control |
|
| 1202 | 1219 | */ |
| 1203 | 1220 | public function addedControl($control) |
| 1204 | 1221 | { |
@@ -1244,6 +1261,7 @@ discard block |
||
| 1244 | 1261 | * Removes a control from the child collection of the control. |
| 1245 | 1262 | * Only framework developers should use this method. |
| 1246 | 1263 | * @param TControl the child control removed |
| 1264 | + * @param TControl $control |
|
| 1247 | 1265 | */ |
| 1248 | 1266 | public function removedControl($control) |
| 1249 | 1267 | { |
@@ -1495,6 +1513,7 @@ discard block |
||
| 1495 | 1513 | * @param string name of the broadcast event |
| 1496 | 1514 | * @param TControl sender of the event |
| 1497 | 1515 | * @param TBroadcastEventParameter event parameter |
| 1516 | + * @param TBroadcastEventParameter $param |
|
| 1498 | 1517 | */ |
| 1499 | 1518 | private function broadcastEventInternal($name,$sender,$param) |
| 1500 | 1519 | { |
@@ -1719,6 +1738,7 @@ discard block |
||
| 1719 | 1738 | * Clears the cached UniqueID. |
| 1720 | 1739 | * If $recursive=true, all children's cached UniqueID will be cleared as well. |
| 1721 | 1740 | * @param boolean whether the clearing is recursive. |
| 1741 | + * @param boolean $recursive |
|
| 1722 | 1742 | */ |
| 1723 | 1743 | private function clearCachedUniqueID($recursive) |
| 1724 | 1744 | { |
@@ -1756,6 +1776,7 @@ discard block |
||
| 1756 | 1776 | * Updates the list of the controls whose IDs are managed by the specified naming container. |
| 1757 | 1777 | * @param TControl the naming container |
| 1758 | 1778 | * @param TControlCollection list of controls |
| 1779 | + * @param TControl $container |
|
| 1759 | 1780 | * @throws TInvalidDataValueException if a control's ID is not unique within its naming container. |
| 1760 | 1781 | */ |
| 1761 | 1782 | private function fillNameTable($container,$controls) |
@@ -1925,6 +1946,7 @@ discard block |
||
| 1925 | 1946 | * The implementation of this function should raise appropriate event(s) (e.g. OnClick, OnCommand) |
| 1926 | 1947 | * indicating the component is responsible for the postback event. |
| 1927 | 1948 | * @param string the parameter associated with the postback event |
| 1949 | + * @return void |
|
| 1928 | 1950 | */ |
| 1929 | 1951 | public function raisePostBackEvent($param); |
| 1930 | 1952 | } |
@@ -1953,6 +1975,7 @@ discard block |
||
| 1953 | 1975 | * Raises postdata changed event. |
| 1954 | 1976 | * The implementation of this function should raise appropriate event(s) (e.g. OnTextChanged) |
| 1955 | 1977 | * indicating the control data is changed. |
| 1978 | + * @return void |
|
| 1956 | 1979 | */ |
| 1957 | 1980 | public function raisePostDataChangedEvent(); |
| 1958 | 1981 | /** |
@@ -1986,6 +2009,7 @@ discard block |
||
| 1986 | 2009 | public function getIsValid(); |
| 1987 | 2010 | /** |
| 1988 | 2011 | * @param boolean whether the validator validates successfully |
| 2012 | + * @return void |
|
| 1989 | 2013 | */ |
| 1990 | 2014 | public function setIsValid($value); |
| 1991 | 2015 | /** |
@@ -1994,6 +2018,7 @@ discard block |
||
| 1994 | 2018 | public function getErrorMessage(); |
| 1995 | 2019 | /** |
| 1996 | 2020 | * @param string error message for the validation |
| 2021 | + * @return void |
|
| 1997 | 2022 | */ |
| 1998 | 2023 | public function setErrorMessage($value); |
| 1999 | 2024 | } |
@@ -2061,6 +2086,7 @@ discard block |
||
| 2061 | 2086 | /** |
| 2062 | 2087 | * Applies this theme to the specified control. |
| 2063 | 2088 | * @param TControl the control to be applied with this theme |
| 2089 | + * @return boolean |
|
| 2064 | 2090 | */ |
| 2065 | 2091 | public function applySkin($control); |
| 2066 | 2092 | } |
@@ -2082,6 +2108,7 @@ discard block |
||
| 2082 | 2108 | * Content in the template will be instantiated as components and text strings |
| 2083 | 2109 | * and passed to the specified parent control. |
| 2084 | 2110 | * @param TControl the parent control |
| 2111 | + * @return void |
|
| 2085 | 2112 | */ |
| 2086 | 2113 | public function instantiateIn($parent); |
| 2087 | 2114 | } |
@@ -2106,6 +2133,8 @@ discard block |
||
| 2106 | 2133 | |
| 2107 | 2134 | /** |
| 2108 | 2135 | * @param string caption of the button |
| 2136 | + * @param string $value |
|
| 2137 | + * @return void |
|
| 2109 | 2138 | */ |
| 2110 | 2139 | public function setText($value); |
| 2111 | 2140 | |
@@ -2116,6 +2145,7 @@ discard block |
||
| 2116 | 2145 | |
| 2117 | 2146 | /** |
| 2118 | 2147 | * @param boolean whether postback event trigger by this button will cause input validation |
| 2148 | + * @return void |
|
| 2119 | 2149 | */ |
| 2120 | 2150 | public function setCausesValidation($value); |
| 2121 | 2151 | |
@@ -2126,6 +2156,7 @@ discard block |
||
| 2126 | 2156 | |
| 2127 | 2157 | /** |
| 2128 | 2158 | * @param string the command name associated with the {@link onCommand OnCommand} event. |
| 2159 | + * @return void |
|
| 2129 | 2160 | */ |
| 2130 | 2161 | public function setCommandName($value); |
| 2131 | 2162 | |
@@ -2136,6 +2167,7 @@ discard block |
||
| 2136 | 2167 | |
| 2137 | 2168 | /** |
| 2138 | 2169 | * @param string the parameter associated with the {@link onCommand OnCommand} event. |
| 2170 | + * @return void |
|
| 2139 | 2171 | */ |
| 2140 | 2172 | public function setCommandParameter($value); |
| 2141 | 2173 | |
@@ -2146,23 +2178,27 @@ discard block |
||
| 2146 | 2178 | |
| 2147 | 2179 | /** |
| 2148 | 2180 | * @param string the group of validators which the button causes validation upon postback |
| 2181 | + * @return void |
|
| 2149 | 2182 | */ |
| 2150 | 2183 | public function setValidationGroup($value); |
| 2151 | 2184 | |
| 2152 | 2185 | /** |
| 2153 | 2186 | * Raises <b>OnClick</b> event. |
| 2154 | 2187 | * @param TEventParameter event parameter to be passed to the event handlers |
| 2188 | + * @return void |
|
| 2155 | 2189 | */ |
| 2156 | 2190 | public function onClick($param); |
| 2157 | 2191 | |
| 2158 | 2192 | /** |
| 2159 | 2193 | * Raises <b>OnCommand</b> event. |
| 2160 | 2194 | * @param TCommandEventParameter event parameter to be passed to the event handlers |
| 2195 | + * @return void |
|
| 2161 | 2196 | */ |
| 2162 | 2197 | public function onCommand($param); |
| 2163 | 2198 | |
| 2164 | 2199 | /** |
| 2165 | 2200 | * @param boolean set by a panel to register this button as the default button for the panel. |
| 2201 | + * @return void |
|
| 2166 | 2202 | */ |
| 2167 | 2203 | public function setIsDefaultButton($value); |
| 2168 | 2204 | |