~fusonic/chive/1.1

« back to all changes in this revision

Viewing changes to yii/web/CWebApplication.php

  • Committer: Matthias Burtscher
  • Date: 2010-02-12 09:12:35 UTC
  • Revision ID: matthias.burtscher@fusonic.net-20100212091235-jqxrb62klx872ajc
* Updated Yii to 1.1.0
* Removed CodePress and CodeMirror
* Updated jQuery and some plugins
* Cleaned some code ...

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 *
5
5
 * @author Qiang Xue <qiang.xue@gmail.com>
6
6
 * @link http://www.yiiframework.com/
7
 
 * @copyright Copyright &copy; 2008-2009 Yii Software LLC
 
7
 * @copyright Copyright &copy; 2008-2010 Yii Software LLC
8
8
 * @license http://www.yiiframework.com/license/
9
9
 */
10
10
 
36
36
 * which is in the file 'protected/controller/article.php'.
37
37
 *
38
38
 * @author Qiang Xue <qiang.xue@gmail.com>
39
 
 * @version $Id: CWebApplication.php 1053 2009-05-23 02:34:03Z qiang.xue $
 
39
 * @version $Id: CWebApplication.php 1678 2010-01-07 21:02:00Z qiang.xue $
40
40
 * @package system.web
41
41
 * @since 1.0
42
42
 */
130
130
                parent::registerCoreComponents();
131
131
 
132
132
                $components=array(
133
 
                        'urlManager'=>array(
134
 
                                'class'=>'CUrlManager',
135
 
                        ),
136
 
                        'request'=>array(
137
 
                                'class'=>'CHttpRequest',
138
 
                        ),
139
133
                        'session'=>array(
140
134
                                'class'=>'CHttpSession',
141
135
                        ),
160
154
        }
161
155
 
162
156
        /**
163
 
         * @return CHttpRequest the request component
164
 
         */
165
 
        public function getRequest()
166
 
        {
167
 
                return $this->getComponent('request');
168
 
        }
169
 
 
170
 
        /**
171
 
         * @return CUrlManager the URL manager component
172
 
         */
173
 
        public function getUrlManager()
174
 
        {
175
 
                return $this->getComponent('urlManager');
176
 
        }
177
 
 
178
 
        /**
179
157
         * @return IAuthManager the authorization manager component
180
158
         */
181
159
        public function getAuthManager()
229
207
        }
230
208
 
231
209
        /**
 
210
         * Returns the widget factory.
 
211
         * @return IWidgetFactory the widget factory
 
212
         * @since 1.1
 
213
         */
 
214
        public function getWidgetFactory()
 
215
        {
 
216
                return $this->getComponent('widgetFactory');
 
217
        }
 
218
 
 
219
        /**
232
220
         * @return CThemeManager the theme manager.
233
221
         */
234
222
        public function getThemeManager()