Completed
Push — namespace2 ( 791eac...5c23fb )
by Fabio
08:41
created
framework/Web/UI/WebControls/TCheckBox.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TCompareValidator.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -186,6 +186,8 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TDataGridColumn.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -281,6 +281,7 @@  discard block
 block discarded – undo
281 281
 	 *
282 282
 	 * @param string the name of the viewstate value to be returned
283 283
 	 * @param mixed the default value. If $key is not found in viewstate, $defaultValue will be returned
284
+	 * @param string $key
284 285
 	 * @return mixed the viewstate value corresponding to $key
285 286
 	 */
286 287
 	protected function getViewState($key,$defaultValue=null)
@@ -295,6 +296,7 @@  discard block
 block discarded – undo
295 296
 	 * @param string the name of the viewstate value
296 297
 	 * @param mixed the viewstate value to be set
297 298
 	 * @param mixed default value. If $value===$defaultValue, the item will be cleared from the viewstate.
299
+	 * @param string $key
298 300
 	 */
299 301
 	protected function setViewState($key,$value,$defaultValue=null)
300 302
 	{
@@ -356,6 +358,7 @@  discard block
 block discarded – undo
356 358
 	 * If the data is a component, the field is used as the name of a property.
357 359
 	 * @param mixed data containing the field of value
358 360
 	 * @param string the data field
361
+	 * @param string $field
359 362
 	 * @return mixed data value at the specified field
360 363
 	 * @throws TInvalidDataValueException if the data or the field is invalid.
361 364
 	 */
@@ -515,6 +518,7 @@  discard block
 block discarded – undo
515 518
 	 * as the first and second parameters in {@link sprintf}.
516 519
 	 * @param string format string
517 520
 	 * @param mixed the data to be formatted
521
+	 * @param string $formatString
518 522
 	 * @return string the formatted result
519 523
 	 */
520 524
 	protected function formatDataValue($formatString,$value)
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TEmailAddressValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
 	/**
57 57
 	 * Returns an array of javascript validator options.
58
-	 * @return array javascript validator options.
58
+	 * @return boolean javascript validator options.
59 59
 	 */
60 60
 	public function evaluateIsValid()
61 61
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TFileUpload.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,6 +177,7 @@  discard block
 block discarded – undo
177 177
 	 * @param string the file name used to save the uploaded file
178 178
 	 * @param boolean whether to delete the temporary file after saving.
179 179
 	 * If true, you will not be able to save the uploaded file again.
180
+	 * @param string $fileName
180 181
 	 * @return boolean true if the file saving is successful
181 182
 	 */
182 183
 	public function saveAs($fileName,$deleteTempFile=true)
@@ -199,6 +200,7 @@  discard block
 block discarded – undo
199 200
 	 * This method is primarly used by framework developers.
200 201
 	 * @param string the key that can be used to retrieve data from the input data collection
201 202
 	 * @param array the input data collection
203
+	 * @param boolean $key
202 204
 	 * @return boolean whether the data of the control has been changed
203 205
 	 */
204 206
 	public function loadPostData($key,$values)
@@ -251,7 +253,7 @@  discard block
 block discarded – undo
251 253
 	/**
252 254
 	 * Returns the original file name as the property value to be validated.
253 255
 	 * This method is required by IValidatable property.
254
-	 * @return mixed the property value to be validated
256
+	 * @return string the property value to be validated
255 257
 	 */
256 258
 	public function getValidationPropertyValue()
257 259
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TFlushOutput.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 	}
50 50
 
51 51
 	/**
52
-	 * @return Tells whether buffering of output can continue after this point
52
+	 * @return boolean whether buffering of output can continue after this point
53 53
 	 */
54 54
 	public function getContinueBuffering()
55 55
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TListBox.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@
 block discarded – undo
213 213
 	/**
214 214
 	 * Returns the value to be validated.
215 215
 	 * This methid is required by IValidatable interface.
216
-	 * @return mixed the value of the property to be validated.
216
+	 * @return string the value of the property to be validated.
217 217
 	 */
218 218
 	public function getValidationPropertyValue()
219 219
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TPager.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -333,6 +333,7 @@  discard block
 block discarded – undo
333 333
 
334 334
 	/**
335 335
 	 * @param integer the zero-based index of the current page
336
+	 * @param integer $value
336 337
 	 * @throws TInvalidDataValueException if the value is less than 0
337 338
 	 */
338 339
 	protected function setCurrentPageIndex($value)
@@ -352,6 +353,7 @@  discard block
 block discarded – undo
352 353
 
353 354
 	/**
354 355
 	 * @param integer number of pages of data items available
356
+	 * @param integer $value
355 357
 	 * @throws TInvalidDataValueException if the value is less than 0
356 358
 	 */
357 359
 	protected function setPageCount($value)
@@ -446,6 +448,9 @@  discard block
 block discarded – undo
446 448
 	 * @param string caption of the button.
447 449
 	 * @param string CommandName corresponding to the OnCommand event of the button.
448 450
 	 * @param string CommandParameter corresponding to the OnCommand event of the button
451
+	 * @param TPagerButtonType $buttonType
452
+	 * @param boolean $enabled
453
+	 * @param string $commandName
449 454
 	 * @return mixed the button instance
450 455
 	 */
451 456
 	protected function createPagerButton($buttonType,$enabled,$text,$commandName,$commandParameter)
@@ -660,6 +665,7 @@  discard block
 block discarded – undo
660 665
 	/**
661 666
 	 * This event is raised when page index is changed due to a page button click.
662 667
 	 * @param TPagerPageChangedEventParameter event parameter
668
+	 * @param TPagerPageChangedEventParameter $param
663 669
 	 */
664 670
 	public function onPageIndexChanged($param)
665 671
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TRangeValidator.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -96,6 +96,7 @@  discard block
 block discarded – undo
96 96
 
97 97
 	/**
98 98
 	 * @param boolean true to perform strict comparison (i.e. strictly less than max and/or strictly greater than min).
99
+	 * @param boolean $value
99 100
 	 */
100 101
 	public function setStrictComparison($value)
101 102
 	{
@@ -191,6 +192,7 @@  discard block
 block discarded – undo
191 192
 	/**
192 193
 	* Determine if the value is within the integer range.
193 194
 	* @param string value to validate true
195
+	* @param string $value
194 196
 	* @return boolean true if within integer range.
195 197
 	*/
196 198
 	protected function isValidInteger($value)
@@ -220,6 +222,7 @@  discard block
 block discarded – undo
220 222
 	/**
221 223
 	 * Determine if the value is within the specified float range.
222 224
 	 * @param string value to validate
225
+	 * @param string $value
223 226
 	 * @return boolean true if within range.
224 227
 	 */
225 228
 	protected function isValidFloat($value)
@@ -240,6 +243,7 @@  discard block
 block discarded – undo
240 243
 	 * Determine if the date is within the specified range.
241 244
 	 * Uses pradoParseDate and strtotime to get the date from string.
242 245
 	 * @param string date as string to validate
246
+	 * @param string $value
243 247
 	 * @return boolean true if within range.
244 248
 	 */
245 249
 	protected function isValidDate($value)
@@ -275,6 +279,7 @@  discard block
 block discarded – undo
275 279
 	 * Compare the string with a minimum and a maxiumum value.
276 280
 	 * Uses strcmp for comparision.
277 281
 	 * @param string value to compare with.
282
+	 * @param string $value
278 283
 	 * @return boolean true if the string is within range.
279 284
 	 */
280 285
 	protected function isValidString($value)
@@ -292,6 +297,7 @@  discard block
 block discarded – undo
292 297
 
293 298
 	/**
294 299
 	 * @param string string for comparision
300
+	 * @param string $value
295 301
 	 * @return boolean true if min and max string length are satisfied.
296 302
 	 */
297 303
 	protected function isValidStringLength($value)
Please login to merge, or discard this patch.