Completed
Push — scrutinizer ( 5826f3...ba0b09 )
by Fabio
11:34
created
framework/Util/TDataFieldAccessor.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * TDataFieldAccessor class file
4
- *
5
- * @author Qiang Xue <[email protected]>
6
- * @link https://github.com/pradosoft/prado
7
- * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
- * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
- * @package System.Util
10
- */
3
+	 * TDataFieldAccessor class file
4
+	 *
5
+	 * @author Qiang Xue <[email protected]>
6
+	 * @link https://github.com/pradosoft/prado
7
+	 * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
+	 * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
+	 * @package System.Util
10
+	 */
11 11
 
12 12
 /**
13 13
  * TDataFieldAccessor class
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
 				$tmp = $data;
61 61
 				foreach (explode(".", $field) as $f)
62
-				    $tmp = $tmp[$f];
62
+					$tmp = $tmp[$f];
63 63
 				return $tmp;
64 64
 			}
65 65
 			else if(is_object($data))
Please login to merge, or discard this patch.
framework/Collections/TPagedDataSource.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * TPagedDataSource, TPagedListIterator, TPagedMapIterator classes
4
- *
5
- * @author Qiang Xue <[email protected]>
6
- * @link https://github.com/pradosoft/prado
7
- * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
- * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
- * @package System.Collections
10
- */
3
+	 * TPagedDataSource, TPagedListIterator, TPagedMapIterator classes
4
+	 *
5
+	 * @author Qiang Xue <[email protected]>
6
+	 * @link https://github.com/pradosoft/prado
7
+	 * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
+	 * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
+	 * @package System.Collections
10
+	 */
11 11
 
12 12
 /**
13 13
  * TPagedDataSource class
Please login to merge, or discard this patch.
framework/Web/Services/TFeedService.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * TFeedService and TFeed class file
4
- *
5
- * @author Qiang Xue <[email protected]>
6
- * @author Knut Urdalen <[email protected]>
7
- * @link https://github.com/pradosoft/prado
8
- * @copyright Copyright &copy; 2005-2016 The PRADO Group
9
- * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
10
- * @version $Id$
11
- * @package System.Web.Services
12
- */
3
+	 * TFeedService and TFeed class file
4
+	 *
5
+	 * @author Qiang Xue <[email protected]>
6
+	 * @author Knut Urdalen <[email protected]>
7
+	 * @link https://github.com/pradosoft/prado
8
+	 * @copyright Copyright &copy; 2005-2016 The PRADO Group
9
+	 * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
10
+	 * @version $Id$
11
+	 * @package System.Web.Services
12
+	 */
13 13
 
14 14
 /**
15 15
  * TFeedService class
@@ -139,9 +139,9 @@  discard block
 block discarded – undo
139 139
 			$feed->init($feedConfig);
140 140
 
141 141
 			$content=$feed->getFeedContent();
142
-		    //$this->getResponse()->setContentType('application/rss+xml');
143
-		    $this->getResponse()->setContentType($feed->getContentType());
144
-		    $this->getResponse()->write($content);
142
+			//$this->getResponse()->setContentType('application/rss+xml');
143
+			$this->getResponse()->setContentType($feed->getContentType());
144
+			$this->getResponse()->write($content);
145 145
 		}
146 146
 		else
147 147
 			throw new THttpException(404,'feedservice_feed_unknown',$id);
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TReCaptcha2.php 1 patch
Indentation   +293 added lines, -293 removed lines patch added patch discarded remove patch
@@ -55,310 +55,310 @@
 block discarded – undo
55 55
 
56 56
 class TReCaptcha2 extends TActivePanel implements ICallbackEventHandler, IValidatable
57 57
 {
58
-    const ChallengeFieldName = 'g-recaptcha-response';
59
-    private $_widgetId=0;
60
-    private $_isValid=true;
58
+	const ChallengeFieldName = 'g-recaptcha-response';
59
+	private $_widgetId=0;
60
+	private $_isValid=true;
61 61
 
62
-    public function __construct()
63
-    {
64
-        parent::__construct();
65
-        $this->setAdapter(new TActiveControlAdapter($this));
66
-    }
67
-    public function getActiveControl()
68
-    {
69
-        return $this->getAdapter()->getBaseActiveControl();
70
-    }
71
-    public function getClientSide()
72
-    {
73
-        return $this->getAdapter()->getBaseActiveControl()->getClientSide();
74
-    }
75
-    public function getClientClassName()
76
-    {
77
-        return 'Prado.WebUI.TReCaptcha2';
78
-    }
79
-    public function getTagName()
80
-    {
81
-        return 'div';
82
-    }
83
-    /**
84
-     * Returns true if this control validated successfully. 
85
-     * Defaults to true.
86
-     * @return bool wether this control validated successfully.
87
-     */
88
-    public function getIsValid()
89
-    {
90
-        return $this->_isValid;
91
-    }
92
-    /**
93
-     * @param bool wether this control is valid.
94
-     */
95
-    public function setIsValid($value)
96
-    {
97
-        $this->_isValid=TPropertyValue::ensureBoolean($value);
98
-    }
99
-    public function getValidationPropertyValue()
100
-    {
101
-        return $this->Request[$this->getResponseFieldName()];
102
-    }
103
-    public function getResponseFieldName()
104
-    {
105
-        $captchas = $this->Page->findControlsByType('TReCaptcha2');
106
-        $cont = 0;
107
-        $responseFieldName = self::ChallengeFieldName;
108
-        foreach ($captchas as $captcha)
109
-        {
110
-            if ($this->getClientID() == $captcha->ClientID)
111
-            {
112
-                $responseFieldName .= ($cont > 0) ? '-'.$cont : '';
113
-            }
114
-            $cont++;
115
-        }
116
-        return $responseFieldName;
117
-    }
118
-    /**
119
-     * Returns your site key. 
120
-     * @return string.
121
-     */
122
-    public function getSiteKey()
123
-    {
124
-        return $this->getViewState('SiteKey');
125
-    }
126
-    /**
127
-     * @param string your site key.
128
-     */
129
-    public function setSiteKey($value)
130
-    {
131
-        $this->setViewState('SiteKey', TPropertyValue::ensureString($value));
132
-    }
133
-    /**
134
-     * Returns your secret key. 
135
-     * @return string.
136
-     */
137
-    public function getSecretKey()
138
-    {
139
-        return $this->getViewState('SecretKey');
140
-    }
141
-    /**
142
-     * @param string your secret key.
143
-     */
144
-    public function setSecretKey($value)
145
-    {
146
-        $this->setViewState('SecretKey', TPropertyValue::ensureString($value));
147
-    }
148
-    /**
149
-     * Returns your language.
150
-     * @return string.
151
-     */
152
-    public function getLanguage()
153
-    {
154
-        return $this->getViewState('Language', 'en');
155
-    }
156
-    /**
157
-     * @param string your language.
158
-     */
159
-    public function setLanguage($value)
160
-    {
161
-        $this->setViewState('Language', TPropertyValue::ensureString($value), 'en');
162
-    }
163
-    /**
164
-     * Returns the color theme of the widget. 
165
-     * @return string.
166
-     */
167
-    public function getTheme()
168
-    {
169
-        return $this->getViewState('Theme', 'light');
170
-    }
171
-    /**
172
-     * The color theme of the widget.
173
-     * Default: light
174
-     * @param string the color theme of the widget.
175
-     */
176
-    public function setTheme($value)
177
-    {
178
-        $this->setViewState('Theme', TPropertyValue::ensureString($value), 'light');
179
-    }
180
-    /**
181
-     * Returns the type of CAPTCHA to serve.
182
-     * @return string.
183
-     */
184
-    public function getType()
185
-    {
186
-        return $this->getViewState('Type', 'image');
187
-    }
188
-    /**
189
-     * The type of CAPTCHA to serve.
190
-     * Default: image
191
-     * @param string the type of CAPTCHA to serve.
192
-     */
193
-    public function setType($value)
194
-    {
195
-        $this->setViewState('Type', TPropertyValue::ensureString($value), 'image');
196
-    }
197
-    /**
198
-     * Returns the size of the widget.
199
-     * @return string.
200
-     */
201
-    public function getSize()
202
-    {
203
-        return $this->getViewState('Size', 'normal');
204
-    }
205
-    /**
206
-     * The size of the widget.
207
-     * Default: normal
208
-     * @param string the size of the widget.
209
-     */
210
-    public function setSize($value)
211
-    {
212
-        $this->setViewState('Size', TPropertyValue::ensureString($value), 'normal');
213
-    }
214
-    /**
215
-     * Returns the tabindex of the widget and challenge.
216
-     * If other elements in your page use tabindex, it should be set to make user navigation easier.
217
-     * @return string.
218
-     */
219
-    public function getTabIndex()
220
-    {
221
-        return $this->getViewState('TabIndex', 0);
222
-    }
223
-    /**
224
-     * The tabindex of the widget and challenge.
225
-     * If other elements in your page use tabindex, it should be set to make user navigation easier.
226
-     * Default: 0
227
-     * @param string the tabindex of the widget and challenge.
228
-     */
229
-    public function setTabIndex($value)
230
-    {
231
-        $this->setViewState('TabIndex', TPropertyValue::ensureInteger($value), 0);
232
-    }
233
-    /**
234
-     * Resets the reCAPTCHA widget.
235
-     * Optional widget ID, defaults to the first widget created if unspecified.
236
-     */
237
-    public function reset()
238
-    {
239
-        $this->Page->CallbackClient->callClientFunction('grecaptcha.reset',array(array($this->WidgetId)));
240
-    }
241
-    /**
242
-     * Gets the response for the reCAPTCHA widget.
243
-     */
244
-    public function getResponse()
245
-    {
246
-        return $this->getViewState('Response', '');
247
-    }
248
-    public function setResponse($value)
249
-    {
250
-        $this->setViewState('Response', TPropertyValue::ensureString($value), '');
251
-    }
252
-    public function getWidgetId()
253
-    {
254
-        return $this->getViewState('WidgetId', 0);
255
-    }
256
-    public function setWidgetId($value)
257
-    {
258
-        $this->setViewState('WidgetId', TPropertyValue::ensureInteger($value), 0);
259
-    }
260
-    protected function getClientOptions()
261
-    {
262
-        $options['ID'] = $this->getClientID();
263
-        $options['EventTarget'] = $this->getUniqueID();
264
-        $options['FormID'] = $this->Page->getForm()->getClientID();
265
-        $options['onCallback'] = $this->hasEventHandler('OnCallback');
266
-        $options['onCallbackExpired'] = $this->hasEventHandler('OnCallbackExpired');
267
-        $options['options']['sitekey'] = $this->getSiteKey();
268
-        if ($theme = $this->getTheme()) $options['options']['theme'] = $theme;
269
-        if ($type = $this->getType()) $options['options']['type'] = $type;
270
-        if ($size = $this->getSize()) $options['options']['size'] = $size;
271
-        if ($tabIndex = $this->getTabIndex()) $options['options']['tabindex'] = $tabIndex;
62
+	public function __construct()
63
+	{
64
+		parent::__construct();
65
+		$this->setAdapter(new TActiveControlAdapter($this));
66
+	}
67
+	public function getActiveControl()
68
+	{
69
+		return $this->getAdapter()->getBaseActiveControl();
70
+	}
71
+	public function getClientSide()
72
+	{
73
+		return $this->getAdapter()->getBaseActiveControl()->getClientSide();
74
+	}
75
+	public function getClientClassName()
76
+	{
77
+		return 'Prado.WebUI.TReCaptcha2';
78
+	}
79
+	public function getTagName()
80
+	{
81
+		return 'div';
82
+	}
83
+	/**
84
+	 * Returns true if this control validated successfully. 
85
+	 * Defaults to true.
86
+	 * @return bool wether this control validated successfully.
87
+	 */
88
+	public function getIsValid()
89
+	{
90
+		return $this->_isValid;
91
+	}
92
+	/**
93
+	 * @param bool wether this control is valid.
94
+	 */
95
+	public function setIsValid($value)
96
+	{
97
+		$this->_isValid=TPropertyValue::ensureBoolean($value);
98
+	}
99
+	public function getValidationPropertyValue()
100
+	{
101
+		return $this->Request[$this->getResponseFieldName()];
102
+	}
103
+	public function getResponseFieldName()
104
+	{
105
+		$captchas = $this->Page->findControlsByType('TReCaptcha2');
106
+		$cont = 0;
107
+		$responseFieldName = self::ChallengeFieldName;
108
+		foreach ($captchas as $captcha)
109
+		{
110
+			if ($this->getClientID() == $captcha->ClientID)
111
+			{
112
+				$responseFieldName .= ($cont > 0) ? '-'.$cont : '';
113
+			}
114
+			$cont++;
115
+		}
116
+		return $responseFieldName;
117
+	}
118
+	/**
119
+	 * Returns your site key. 
120
+	 * @return string.
121
+	 */
122
+	public function getSiteKey()
123
+	{
124
+		return $this->getViewState('SiteKey');
125
+	}
126
+	/**
127
+	 * @param string your site key.
128
+	 */
129
+	public function setSiteKey($value)
130
+	{
131
+		$this->setViewState('SiteKey', TPropertyValue::ensureString($value));
132
+	}
133
+	/**
134
+	 * Returns your secret key. 
135
+	 * @return string.
136
+	 */
137
+	public function getSecretKey()
138
+	{
139
+		return $this->getViewState('SecretKey');
140
+	}
141
+	/**
142
+	 * @param string your secret key.
143
+	 */
144
+	public function setSecretKey($value)
145
+	{
146
+		$this->setViewState('SecretKey', TPropertyValue::ensureString($value));
147
+	}
148
+	/**
149
+	 * Returns your language.
150
+	 * @return string.
151
+	 */
152
+	public function getLanguage()
153
+	{
154
+		return $this->getViewState('Language', 'en');
155
+	}
156
+	/**
157
+	 * @param string your language.
158
+	 */
159
+	public function setLanguage($value)
160
+	{
161
+		$this->setViewState('Language', TPropertyValue::ensureString($value), 'en');
162
+	}
163
+	/**
164
+	 * Returns the color theme of the widget. 
165
+	 * @return string.
166
+	 */
167
+	public function getTheme()
168
+	{
169
+		return $this->getViewState('Theme', 'light');
170
+	}
171
+	/**
172
+	 * The color theme of the widget.
173
+	 * Default: light
174
+	 * @param string the color theme of the widget.
175
+	 */
176
+	public function setTheme($value)
177
+	{
178
+		$this->setViewState('Theme', TPropertyValue::ensureString($value), 'light');
179
+	}
180
+	/**
181
+	 * Returns the type of CAPTCHA to serve.
182
+	 * @return string.
183
+	 */
184
+	public function getType()
185
+	{
186
+		return $this->getViewState('Type', 'image');
187
+	}
188
+	/**
189
+	 * The type of CAPTCHA to serve.
190
+	 * Default: image
191
+	 * @param string the type of CAPTCHA to serve.
192
+	 */
193
+	public function setType($value)
194
+	{
195
+		$this->setViewState('Type', TPropertyValue::ensureString($value), 'image');
196
+	}
197
+	/**
198
+	 * Returns the size of the widget.
199
+	 * @return string.
200
+	 */
201
+	public function getSize()
202
+	{
203
+		return $this->getViewState('Size', 'normal');
204
+	}
205
+	/**
206
+	 * The size of the widget.
207
+	 * Default: normal
208
+	 * @param string the size of the widget.
209
+	 */
210
+	public function setSize($value)
211
+	{
212
+		$this->setViewState('Size', TPropertyValue::ensureString($value), 'normal');
213
+	}
214
+	/**
215
+	 * Returns the tabindex of the widget and challenge.
216
+	 * If other elements in your page use tabindex, it should be set to make user navigation easier.
217
+	 * @return string.
218
+	 */
219
+	public function getTabIndex()
220
+	{
221
+		return $this->getViewState('TabIndex', 0);
222
+	}
223
+	/**
224
+	 * The tabindex of the widget and challenge.
225
+	 * If other elements in your page use tabindex, it should be set to make user navigation easier.
226
+	 * Default: 0
227
+	 * @param string the tabindex of the widget and challenge.
228
+	 */
229
+	public function setTabIndex($value)
230
+	{
231
+		$this->setViewState('TabIndex', TPropertyValue::ensureInteger($value), 0);
232
+	}
233
+	/**
234
+	 * Resets the reCAPTCHA widget.
235
+	 * Optional widget ID, defaults to the first widget created if unspecified.
236
+	 */
237
+	public function reset()
238
+	{
239
+		$this->Page->CallbackClient->callClientFunction('grecaptcha.reset',array(array($this->WidgetId)));
240
+	}
241
+	/**
242
+	 * Gets the response for the reCAPTCHA widget.
243
+	 */
244
+	public function getResponse()
245
+	{
246
+		return $this->getViewState('Response', '');
247
+	}
248
+	public function setResponse($value)
249
+	{
250
+		$this->setViewState('Response', TPropertyValue::ensureString($value), '');
251
+	}
252
+	public function getWidgetId()
253
+	{
254
+		return $this->getViewState('WidgetId', 0);
255
+	}
256
+	public function setWidgetId($value)
257
+	{
258
+		$this->setViewState('WidgetId', TPropertyValue::ensureInteger($value), 0);
259
+	}
260
+	protected function getClientOptions()
261
+	{
262
+		$options['ID'] = $this->getClientID();
263
+		$options['EventTarget'] = $this->getUniqueID();
264
+		$options['FormID'] = $this->Page->getForm()->getClientID();
265
+		$options['onCallback'] = $this->hasEventHandler('OnCallback');
266
+		$options['onCallbackExpired'] = $this->hasEventHandler('OnCallbackExpired');
267
+		$options['options']['sitekey'] = $this->getSiteKey();
268
+		if ($theme = $this->getTheme()) $options['options']['theme'] = $theme;
269
+		if ($type = $this->getType()) $options['options']['type'] = $type;
270
+		if ($size = $this->getSize()) $options['options']['size'] = $size;
271
+		if ($tabIndex = $this->getTabIndex()) $options['options']['tabindex'] = $tabIndex;
272 272
 
273
-        return $options;
274
-    }
275
-    protected function registerClientScript()
276
-    {
277
-        $id         = $this->getClientID();
278
-        $options    = TJavaScript::encode($this->getClientOptions());
279
-        $className  = $this->getClientClassName();
280
-        $cs         = $this->Page->ClientScript;
281
-        $code       = "new $className($options);";
273
+		return $options;
274
+	}
275
+	protected function registerClientScript()
276
+	{
277
+		$id         = $this->getClientID();
278
+		$options    = TJavaScript::encode($this->getClientOptions());
279
+		$className  = $this->getClientClassName();
280
+		$cs         = $this->Page->ClientScript;
281
+		$code       = "new $className($options);";
282 282
 
283
-        $cs->registerPradoScript('ajax');
284
-        $cs->registerEndScript("grecaptcha:$id", $code);
285
-    }
286
-    public function validate()
287
-    {
288
-        $value = $this->getValidationPropertyValue();
289
-        if($value === null || empty($value))
290
-            return false;
283
+		$cs->registerPradoScript('ajax');
284
+		$cs->registerEndScript("grecaptcha:$id", $code);
285
+	}
286
+	public function validate()
287
+	{
288
+		$value = $this->getValidationPropertyValue();
289
+		if($value === null || empty($value))
290
+			return false;
291 291
 
292
-        return true;
293
-    }
294
-    /**
295
-     * Checks for API keys
296
-     * @param mixed event parameter
297
-     */
298
-    public function onPreRender($param)
299
-    {
300
-        parent::onPreRender($param);
292
+		return true;
293
+	}
294
+	/**
295
+	 * Checks for API keys
296
+	 * @param mixed event parameter
297
+	 */
298
+	public function onPreRender($param)
299
+	{
300
+		parent::onPreRender($param);
301 301
 
302
-        if("" == $this->getSiteKey())
303
-            throw new TConfigurationException('recaptcha_publickey_unknown');
304
-        if("" == $this->getSecretKey())
305
-            throw new TConfigurationException('recaptcha_privatekey_unknown');
302
+		if("" == $this->getSiteKey())
303
+			throw new TConfigurationException('recaptcha_publickey_unknown');
304
+		if("" == $this->getSecretKey())
305
+			throw new TConfigurationException('recaptcha_privatekey_unknown');
306 306
 
307
-        // need to register captcha fields so they will be sent postback
308
-        $this->Page->registerRequiresPostData($this->getResponseFieldName());
309
-        $this->Page->ClientScript->registerHeadScriptFile('grecaptcha2', 'https://www.google.com/recaptcha/api.js?onload=TReCaptcha2_onloadCallback&render=explicit&hl=' . $this->getLanguage());
310
-    }
311
-    protected function addAttributesToRender($writer)
312
-    {
313
-        $writer->addAttribute('id',$this->getClientID());
314
-        parent::addAttributesToRender($writer);
315
-    }
316
-    public function raiseCallbackEvent($param)
317
-    {
318
-        $params = $param->getCallbackParameter();
319
-        if ($params instanceof stdClass)
320
-        {
321
-            $callback = property_exists($params, 'onCallback');
322
-            $callbackExpired = property_exists($params, 'onCallbackExpired');
307
+		// need to register captcha fields so they will be sent postback
308
+		$this->Page->registerRequiresPostData($this->getResponseFieldName());
309
+		$this->Page->ClientScript->registerHeadScriptFile('grecaptcha2', 'https://www.google.com/recaptcha/api.js?onload=TReCaptcha2_onloadCallback&render=explicit&hl=' . $this->getLanguage());
310
+	}
311
+	protected function addAttributesToRender($writer)
312
+	{
313
+		$writer->addAttribute('id',$this->getClientID());
314
+		parent::addAttributesToRender($writer);
315
+	}
316
+	public function raiseCallbackEvent($param)
317
+	{
318
+		$params = $param->getCallbackParameter();
319
+		if ($params instanceof stdClass)
320
+		{
321
+			$callback = property_exists($params, 'onCallback');
322
+			$callbackExpired = property_exists($params, 'onCallbackExpired');
323 323
 
324
-            if ($callback)
325
-            {
326
-                $this->WidgetId = $params->widgetId;
327
-                $this->Response = $params->response;
328
-                $this->Page->CallbackClient->jQuery($params->responseField, 'text',array($params->response));
324
+			if ($callback)
325
+			{
326
+				$this->WidgetId = $params->widgetId;
327
+				$this->Response = $params->response;
328
+				$this->Page->CallbackClient->jQuery($params->responseField, 'text',array($params->response));
329 329
 
330
-                if ($params->onCallback)
331
-                {
332
-                    $this->onCallback($param);
333
-                }
334
-            }
330
+				if ($params->onCallback)
331
+				{
332
+					$this->onCallback($param);
333
+				}
334
+			}
335 335
 
336
-            if ($callbackExpired)
337
-            {
338
-                $this->Response = '';
339
-                $this->reset();
336
+			if ($callbackExpired)
337
+			{
338
+				$this->Response = '';
339
+				$this->reset();
340 340
 
341
-                if ($params->onCallbackExpired)
342
-                {
343
-                    $this->onCallbackExpired($param);
344
-                }
345
-            }
346
-        }
347
-    }
341
+				if ($params->onCallbackExpired)
342
+				{
343
+					$this->onCallbackExpired($param);
344
+				}
345
+			}
346
+		}
347
+	}
348 348
 
349
-    public function onCallback($param)
350
-    {
351
-        $this->raiseEvent('OnCallback', $this, $param);
352
-    }
349
+	public function onCallback($param)
350
+	{
351
+		$this->raiseEvent('OnCallback', $this, $param);
352
+	}
353 353
 
354
-    public function onCallbackExpired($param)
355
-    {
356
-        $this->raiseEvent('OnCallbackExpired', $this, $param);
357
-    }
354
+	public function onCallbackExpired($param)
355
+	{
356
+		$this->raiseEvent('OnCallbackExpired', $this, $param);
357
+	}
358 358
 
359
-    public function render($writer)
360
-    {
361
-        $this->registerClientScript();
362
-        parent::render($writer);
363
-    }
359
+	public function render($writer)
360
+	{
361
+		$this->registerClientScript();
362
+		parent::render($writer);
363
+	}
364 364
 }
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TActiveRadioButtonList.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * TActiveRadioButtonList class file.
4
- *
5
- * @author Wei Zhuo <weizhuo[at]gamil[dot]com>
6
- * @link https://github.com/pradosoft/prado
7
- * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
- * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
- * @package System.Web.UI.ActiveControls
10
- */
3
+	 * TActiveRadioButtonList class file.
4
+	 *
5
+	 * @author Wei Zhuo <weizhuo[at]gamil[dot]com>
6
+	 * @link https://github.com/pradosoft/prado
7
+	 * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
+	 * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
+	 * @package System.Web.UI.ActiveControls
10
+	 */
11 11
 
12 12
 /**
13 13
  * Load active control adapter and active radio button.
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TEventTriggeredCallback.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * TEventTriggeredCallback class file.
4
- *
5
- * @author Wei Zhuo <weizhuo[at]gamil[dot]com>
6
- * @link https://github.com/pradosoft/prado
7
- * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
- * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
- * @package System.Web.UI.ActiveControls
10
- */
3
+	 * TEventTriggeredCallback class file.
4
+	 *
5
+	 * @author Wei Zhuo <weizhuo[at]gamil[dot]com>
6
+	 * @link https://github.com/pradosoft/prado
7
+	 * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
+	 * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
+	 * @package System.Web.UI.ActiveControls
10
+	 */
11 11
 
12 12
 Prado::using('System.Web.UI.ActiveControls.TTriggeredCallback');
13 13
 
Please login to merge, or discard this patch.
framework/Collections/TPriorityMap.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * TPriorityMap, TPriorityMapIterator classes
4
- *
5
- * @author Brad Anderson <[email protected]>
6
- * @link https://github.com/pradosoft/prado
7
- * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
- * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
- * @package System.Collections
10
- */
3
+	 * TPriorityMap, TPriorityMapIterator classes
4
+	 *
5
+	 * @author Brad Anderson <[email protected]>
6
+	 * @link https://github.com/pradosoft/prado
7
+	 * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
+	 * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
+	 * @package System.Collections
10
+	 */
11 11
 
12 12
 /**
13 13
  * TPriorityMap class
Please login to merge, or discard this patch.
framework/Util/TLogger.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * TLogger class file
4
- *
5
- * @author Qiang Xue <[email protected]>
6
- * @link https://github.com/pradosoft/prado
7
- * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
- * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
- * @package System.Util
10
- */
3
+	 * TLogger class file
4
+	 *
5
+	 * @author Qiang Xue <[email protected]>
6
+	 * @link https://github.com/pradosoft/prado
7
+	 * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
+	 * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
+	 * @package System.Util
10
+	 */
11 11
 
12 12
 /**
13 13
  * TLogger class.
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TActiveButton.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * TActiveButton class file.
4
- *
5
- * @author Wei Zhuo <weizhuo[at]gamil[dot]com>
6
- * @link https://github.com/pradosoft/prado
7
- * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
- * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
- * @package System.Web.UI.ActiveControls
10
- */
3
+	 * TActiveButton class file.
4
+	 *
5
+	 * @author Wei Zhuo <weizhuo[at]gamil[dot]com>
6
+	 * @link https://github.com/pradosoft/prado
7
+	 * @copyright Copyright &copy; 2005-2016 The PRADO Group
8
+	 * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
+	 * @package System.Web.UI.ActiveControls
10
+	 */
11 11
 
12 12
 /**
13 13
  * Load active control adapter.
Please login to merge, or discard this patch.