Completed
Push — prado-3.3 ( 93ffb3...b1ee51 )
by Fabio
19:32
created
framework/Web/UI/ActiveControls/TTriggeredCallback.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
framework/Web/UI/JuiControls/TJuiAutoComplete.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -252,6 +252,7 @@  discard block
 block discarded – undo
252 252
 	 * method, be sure to call the parent implementation so that the event
253 253
 	 * handler can be invoked.
254 254
 	 * @param TCallbackEventParameter event parameter to be passed to the event handlers
255
+	 * @param TJuiAutoCompleteEventParameter $param
255 256
 	 */
256 257
 	public function onSuggest($param)
257 258
 	{
@@ -264,6 +265,7 @@  discard block
 block discarded – undo
264 265
 	 * method, be sure to call the parent implementation so that the event
265 266
 	 * handler can be invoked.
266 267
 	 * @param TCallbackEventParameter event parameter to be passed to the event handlers
268
+	 * @param TJuiAutoCompleteEventParameter $param
267 269
 	 */
268 270
 	public function onSuggestionSelected($param)
269 271
 	{
@@ -441,6 +443,7 @@  discard block
 block discarded – undo
441 443
 
442 444
 	/**
443 445
 	 * Creates a new TCallbackEventParameter.
446
+	 * @param THttpResponse $response
444 447
 	 */
445 448
 	public function __construct($response, $parameter, $index=-1)
446 449
 	{
Please login to merge, or discard this patch.
framework/Web/UI/JuiControls/TJuiControlAdapter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
 	/**
80 80
 	 * Publish the jQuery-ui style Css asset file.
81
-	 * @param file name
81
+	 * @param file string
82 82
 	 * @return string Css file url.
83 83
 	 */
84 84
 	public function publishJuiStyle($file)
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 	 * Gets a control instance named after a returned control id.
154 154
 	 * Example: if a $param->draggable control id is returned from clientside,
155 155
 	 * calling $param->DraggableControl will return the control instance
156
-	 * @return mixed control or null if not set.
156
+	 * @return null|TControl control or null if not set.
157 157
 	 */
158 158
 	public function __get($name)
159 159
 	{
Please login to merge, or discard this patch.
framework/Web/UI/JuiControls/TJuiControlOptions.php 1 patch
Doc Comments   +16 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,9 +21,24 @@  discard block
 block discarded – undo
21 21
  */
22 22
 interface IJuiOptions
23 23
 {
24
+	/**
25
+	 * @return string
26
+	 */
24 27
 	public function getWidget();
28
+
29
+	/**
30
+	 * @return string
31
+	 */
25 32
 	public function getWidgetID();
33
+
34
+	/**
35
+	 * @return TJuiControlOptions
36
+	 */
26 37
 	public function getOptions();
38
+
39
+	/**
40
+	 * @return string[]
41
+	 */
27 42
 	public function getValidOptions();
28 43
 	public function getValidEvents();
29 44
 }
@@ -139,7 +154,7 @@  discard block
 block discarded – undo
139 154
 
140 155
 	/**
141 156
 	 * Only serialize the options itself, not the corresponding parent control.
142
-	 * @return mixed array with the names of all variables of that object that should be serialized.
157
+	 * @return string[] array with the names of all variables of that object that should be serialized.
143 158
 	 */
144 159
 	public function __sleep() {
145 160
 	  return array('_options');
Please login to merge, or discard this patch.
framework/Web/UI/JuiControls/TJuiDialog.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -158,6 +158,9 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
framework/Web/UI/JuiControls/TJuiSelectable.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -264,6 +264,9 @@
 block discarded – undo
264 264
 {
265 265
 	private $_template;
266 266
 
267
+	/**
268
+	 * @param string $template
269
+	 */
267 270
 	public function __construct($template)
268 271
 	{
269 272
 		$this->_template = $template;
Please login to merge, or discard this patch.
framework/Web/UI/TForm.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -152,6 +152,7 @@
 block discarded – undo
152 152
 	 * - application/x-www-form-urlencoded : Form data is encoded as name/value pairs. This is the standard encoding format.
153 153
 	 * - multipart/form-data : Form data is encoded as a message with a separate part for each control on the page.
154 154
 	 * - text/plain : Form data is encoded in plain text, without any control or formatting characters.
155
+	 * @param string $value
155 156
 	 */
156 157
 	public function setEnctype($value)
157 158
 	{
Please login to merge, or discard this patch.
framework/Web/UI/TPage.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -278,6 +278,9 @@  discard block
 block discarded – undo
278 278
 		$this->unloadRecursive();
279 279
 	}
280 280
 
281
+	/**
282
+	 * @param string $enc
283
+	 */
281 284
 	protected static function decodeUTF8($data, $enc)
282 285
 	{
283 286
 		if(is_array($data))
@@ -451,6 +454,7 @@  discard block
 block discarded – undo
451 454
 	 * Returns a list of registered validators.
452 455
 	 * If validation group is specified, only the validators in that group will be returned.
453 456
 	 * @param string validation group
457
+	 * @param string $validationGroup
454 458
 	 * @return TList registered validators in the requested group. If the group is null, all validators will be returned.
455 459
 	 */
456 460
 	public function getValidators($validationGroup=null)
@@ -562,6 +566,7 @@  discard block
 block discarded – undo
562 566
 	 * Applies a skin in the current theme to a control.
563 567
 	 * This method should only be used by framework developers.
564 568
 	 * @param TControl a control to be applied skin with
569
+	 * @param TControl $control
565 570
 	 */
566 571
 	public function applyControlSkin($control)
567 572
 	{
@@ -856,6 +861,7 @@  discard block
 block discarded – undo
856 861
 	 * Processes post data.
857 862
 	 * @param TMap post data to be processed
858 863
 	 * @param boolean whether this method is invoked before {@link onLoad OnLoad}.
864
+	 * @param boolean $beforeLoad
859 865
 	 */
860 866
 	protected function processPostData($postData,$beforeLoad)
861 867
 	{
@@ -981,6 +987,7 @@  discard block
 block discarded – undo
981 987
 	/**
982 988
 	 * Sets input focus on a control after the page is rendered to users.
983 989
 	 * @param TControl|string control to receive focus, or the ID of the element on the page to receive focus
990
+	 * @param TControl $value
984 991
 	 */
985 992
 	public function setFocus($value)
986 993
 	{
@@ -1066,6 +1073,7 @@  discard block
 block discarded – undo
1066 1073
 	 * Sets the state to be stored on the client side.
1067 1074
 	 * This method should only be used by framework and control developers.
1068 1075
 	 * @param string the state to be stored on the client side
1076
+	 * @param string $state
1069 1077
 	 */
1070 1078
 	public function setClientState($state)
1071 1079
 	{
@@ -1185,6 +1193,8 @@  discard block
 block discarded – undo
1185 1193
 	 * referring to the context object (e.g. Page, Page.ClientScript).
1186 1194
 	 * @param string method name of the context object
1187 1195
 	 * @param array list of parameters to be passed to the action method
1196
+	 * @param string $context
1197
+	 * @param string $funcName
1188 1198
 	 */
1189 1199
 	public function registerCachingAction($context,$funcName,$funcParams)
1190 1200
 	{
@@ -1230,15 +1240,18 @@  discard block
 block discarded – undo
1230 1240
 {
1231 1241
 	/**
1232 1242
 	 * @param TPage the page that this persister works for
1243
+	 * @return TPage
1233 1244
 	 */
1234 1245
 	public function getPage();
1235 1246
 	/**
1236 1247
 	 * @param TPage the page that this persister works for
1248
+	 * @return void
1237 1249
 	 */
1238 1250
 	public function setPage(TPage $page);
1239 1251
 	/**
1240 1252
 	 * Saves state to persistent storage.
1241 1253
 	 * @param mixed state to be stored
1254
+	 * @return void
1242 1255
 	 */
1243 1256
 	public function save($state);
1244 1257
 	/**
@@ -1272,6 +1285,7 @@  discard block
 block discarded – undo
1272 1285
 	/**
1273 1286
 	 * @param TPage
1274 1287
 	 * @param mixed state data
1288
+	 * @param TPage $page
1275 1289
 	 * @return string serialized data
1276 1290
 	 */
1277 1291
 	public static function serialize($page,$data)
@@ -1291,6 +1305,7 @@  discard block
 block discarded – undo
1291 1305
 	/**
1292 1306
 	 * @param TPage
1293 1307
 	 * @param string serialized data
1308
+	 * @param TPage $page
1294 1309
 	 * @return mixed unserialized state data, null if data is corrupted
1295 1310
 	 */
1296 1311
 	public static function unserialize($page,$data)
Please login to merge, or discard this patch.
framework/Web/UI/TTemplateControl.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,6 +144,7 @@  discard block
 block discarded – undo
144 144
 	 * Registers a content control.
145 145
 	 * @param string ID of the content
146 146
 	 * @param TContent
147
+	 * @param string $id
147 148
 	 */
148 149
 	public function registerContent($id,TContent $object)
149 150
 	{
@@ -158,6 +159,7 @@  discard block
 block discarded – undo
158 159
 	 * This method should only be used by framework and control developers.
159 160
 	 * @param string placeholder ID
160 161
 	 * @param TContentPlaceHolder placeholder control
162
+	 * @param string $id
161 163
 	 */
162 164
 	public function registerContentPlaceHolder($id,TContentPlaceHolder $object)
163 165
 	{
@@ -184,7 +186,7 @@  discard block
 block discarded – undo
184 186
 	}
185 187
 
186 188
 	/**
187
-	 * @return TTemplateControl|null master control associated with this control, null if none
189
+	 * @return TTemplateControl master control associated with this control, null if none
188 190
 	 */
189 191
 	public function getMaster()
190 192
 	{
Please login to merge, or discard this patch.