@@ -175,6 +175,7 @@ |
||
| 175 | 175 | |
| 176 | 176 | /** |
| 177 | 177 | * @param string state tracker class. |
| 178 | + * @param string $value |
|
| 178 | 179 | */ |
| 179 | 180 | public function setStateTracker($value) |
| 180 | 181 | { |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | /** |
| 67 | 67 | * No client class for this control. |
| 68 | 68 | * This method overrides the parent implementation. |
| 69 | - * @return null no javascript class name. |
|
| 69 | + * @return string no javascript class name. |
|
| 70 | 70 | */ |
| 71 | 71 | protected function getClientClassName() |
| 72 | 72 | { |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | /** |
| 71 | 71 | * Javascript client class for this control. |
| 72 | 72 | * This method overrides the parent implementation. |
| 73 | - * @return null no javascript class name. |
|
| 73 | + * @return string no javascript class name. |
|
| 74 | 74 | */ |
| 75 | 75 | protected function getClientClassName() |
| 76 | 76 | { |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | - * @return array list of trigger callback options. |
|
| 59 | + * @return string list of trigger callback options. |
|
| 60 | 60 | */ |
| 61 | 61 | protected function getTriggerOptions() |
| 62 | 62 | { |
@@ -158,6 +158,9 @@ |
||
| 158 | 158 | $this->triggerClientMethod('close'); |
| 159 | 159 | } |
| 160 | 160 | |
| 161 | + /** |
|
| 162 | + * @param string $method |
|
| 163 | + */ |
|
| 161 | 164 | private function triggerClientMethod($method) |
| 162 | 165 | { |
| 163 | 166 | $cs = $this->getPage()->getClientScript(); |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | /** |
| 77 | 77 | * This method creates the template object for the given class |
| 78 | 78 | * |
| 79 | - * @param string $p_class The class to create the template from |
|
| 79 | + * @param string $parentClass |
|
| 80 | 80 | * @return void |
| 81 | 81 | * @throws TConfigurationException if a template control directive is invalid |
| 82 | 82 | */ |
@@ -166,6 +166,7 @@ |
||
| 166 | 166 | * Otherwise, an exception will be raised. |
| 167 | 167 | * @param mixed data item |
| 168 | 168 | * @param mixed field name |
| 169 | + * @param string $field |
|
| 169 | 170 | * @return mixed data value at the specified field |
| 170 | 171 | * @throws TInvalidDataValueException if the data is invalid |
| 171 | 172 | */ |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | |
| 118 | 118 | /** |
| 119 | 119 | * Returns the value of the property that needs validation. |
| 120 | - * @return mixed the property value to be validated |
|
| 120 | + * @return boolean the property value to be validated |
|
| 121 | 121 | */ |
| 122 | 122 | public function getValidationPropertyValue() |
| 123 | 123 | { |
@@ -184,6 +184,7 @@ discard block |
||
| 184 | 184 | |
| 185 | 185 | /** |
| 186 | 186 | * @param TTextAlign the alignment of the text caption. Valid values include Left and Right. |
| 187 | + * @param TTextAlign $value |
|
| 187 | 188 | */ |
| 188 | 189 | public function setTextAlign($value) |
| 189 | 190 | { |
@@ -244,6 +245,7 @@ discard block |
||
| 244 | 245 | /** |
| 245 | 246 | * Sets a value indicating whether clicking on the checkbox will post the page. |
| 246 | 247 | * @param boolean whether clicking on the checkbox will post the page. |
| 248 | + * @param boolean $value |
|
| 247 | 249 | */ |
| 248 | 250 | public function setAutoPostBack($value) |
| 249 | 251 | { |
@@ -261,6 +263,7 @@ discard block |
||
| 261 | 263 | /** |
| 262 | 264 | * Sets the value indicating whether postback event trigger by this checkbox will cause input validation. |
| 263 | 265 | * @param boolean whether postback event trigger by this checkbox will cause input validation. |
| 266 | + * @param boolean $value |
|
| 264 | 267 | */ |
| 265 | 268 | public function setCausesValidation($value) |
| 266 | 269 | { |
@@ -277,6 +280,7 @@ discard block |
||
| 277 | 280 | |
| 278 | 281 | /** |
| 279 | 282 | * @param string the group of validators which the checkbox causes validation upon postback |
| 283 | + * @param string $value |
|
| 280 | 284 | */ |
| 281 | 285 | public function setValidationGroup($value) |
| 282 | 286 | { |
@@ -410,6 +414,7 @@ discard block |
||
| 410 | 414 | |
| 411 | 415 | /** |
| 412 | 416 | * @param boolean whether to render javascript. |
| 417 | + * @param boolean $value |
|
| 413 | 418 | */ |
| 414 | 419 | public function setEnableClientScript($value) |
| 415 | 420 | { |
@@ -186,6 +186,8 @@ |
||
| 186 | 186 | * Parse the pair of values into the appropriate value type. |
| 187 | 187 | * @param string value one |
| 188 | 188 | * @param string second value |
| 189 | + * @param string $value1 |
|
| 190 | + * @param string $value2 |
|
| 189 | 191 | * @return array appropriate type of the value pair, array($value1, $value2); |
| 190 | 192 | */ |
| 191 | 193 | protected function getComparisonValues($value1, $value2) |