Development

/branches/1.4/lib/autoload/sfCoreAutoload.class.php

You must first sign up to be able to contribute.

root/branches/1.4/lib/autoload/sfCoreAutoload.class.php

Revision 33606, 26.8 kB (checked in by fabien, 1 year ago)

[1.4] bumped version

  • Property svn:mime-type set to text/x-php
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1 <?php
2
3 /*
4  * This file is part of the symfony package.
5  * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 /**
12  * The current symfony version.
13  */
14 define('SYMFONY_VERSION', '1.4.21-DEV');
15
16 /**
17  * sfCoreAutoload class.
18  *
19  * This class is a singleton as PHP seems to be unable to register 2 autoloaders that are instances
20  * of the same class (why?).
21  *
22  * @package    symfony
23  * @subpackage autoload
24  * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
25  * @version    SVN: $Id: sfCoreAutoload.class.php 32415 2011-03-30 16:09:00Z Kris.Wallsmith
26  $
27  */
28 class sfCoreAutoload
29 {
30   static protected
31     $registered = false,
32     $instance   = null;
33
34   protected
35     $baseDir = null;
36
37   protected function __construct()
38   {
39     $this->baseDir = realpath(dirname(__FILE__).'/..');
40   }
41
42   /**
43    * Retrieves the singleton instance of this class.
44    *
45    * @return sfCoreAutoload A sfCoreAutoload implementation instance.
46    */
47   static public function getInstance()
48   {
49     if (!isset(self::$instance))
50     {
51       self::$instance = new sfCoreAutoload();
52     }
53
54     return self::$instance;
55   }
56
57   /**
58    * Register sfCoreAutoload in spl autoloader.
59    *
60    * @return void
61    */
62   static public function register()
63   {
64     if (self::$registered)
65     {
66       return;
67     }
68
69     ini_set('unserialize_callback_func', 'spl_autoload_call');
70     if (false === spl_autoload_register(array(self::getInstance(), 'autoload')))
71     {
72       throw new sfException(sprintf('Unable to register %s::autoload as an autoloading method.', get_class(self::getInstance())));
73     }
74
75     self::$registered = true;
76   }
77
78   /**
79    * Unregister sfCoreAutoload from spl autoloader.
80    *
81    * @return void
82    */
83   static public function unregister()
84   {
85     spl_autoload_unregister(array(self::getInstance(), 'autoload'));
86     self::$registered = false;
87   }
88
89   /**
90    * Handles autoloading of classes.
91    *
92    * @param  string  $class  A class name.
93    *
94    * @return boolean Returns true if the class has been loaded
95    */
96   public function autoload($class)
97   {
98     if ($path = $this->getClassPath($class))
99     {
100       require $path;
101
102       return true;
103     }
104
105     return false;
106   }
107
108   /**
109    * Returns the filename of the supplied class.
110    *
111    * @param  string $class The class name (case insensitive)
112    *
113    * @return string|null An absolute path or null
114    */
115   public function getClassPath($class)
116   {
117     $class = strtolower($class);
118
119     if (!isset($this->classes[$class]))
120     {
121       return null;
122     }
123
124     return $this->baseDir.'/'.$this->classes[$class];
125   }
126
127   /**
128    * Returns the base directory this autoloader is working on.
129    *
130    * @return string The path to the symfony core lib directory
131    */
132   public function getBaseDir()
133   {
134     return $this->baseDir;
135   }
136
137   /**
138    * Rebuilds the association array between class names and paths.
139    *
140    * This method overrides this file (__FILE__)
141    */
142   static public function make()
143   {
144     $libDir = str_replace(DIRECTORY_SEPARATOR, '/', realpath(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'));
145     require_once $libDir.'/util/sfFinder.class.php';
146
147     $files = sfFinder::type('file')
148       ->prune('plugins')
149       ->prune('vendor')
150       ->prune('skeleton')
151       ->prune('default')
152       ->prune('helper')
153       ->name('*.php')
154       ->in($libDir)
155     ;
156
157     sort($files, SORT_STRING);
158
159     $classes = '';
160     foreach ($files as $file)
161     {
162       $file  = str_replace(DIRECTORY_SEPARATOR, '/', $file);
163       $class = basename($file, false === strpos($file, '.class.php') ? '.php' : '.class.php');
164
165       $contents = file_get_contents($file);
166       if (false !== stripos($contents, 'class '.$class) || false !== stripos($contents, 'interface '.$class))
167       {
168         $classes .= sprintf("    '%s' => '%s',\n", strtolower($class), substr(str_replace($libDir, '', $file), 1));
169       }
170     }
171
172     $content = preg_replace('/protected \$classes = array *\(.*?\);/s', sprintf("protected \$classes = array(\n%s  );", $classes), file_get_contents(__FILE__));
173
174     file_put_contents(__FILE__, $content);
175   }
176
177   // Don't edit this property by hand.
178   // To update it, use sfCoreAutoload::make()
179   protected $classes = array(
180     'sfaction' => 'action/sfAction.class.php',
181     'sfactionstack' => 'action/sfActionStack.class.php',
182     'sfactionstackentry' => 'action/sfActionStackEntry.class.php',
183     'sfactions' => 'action/sfActions.class.php',
184     'sfcomponent' => 'action/sfComponent.class.php',
185     'sfcomponents' => 'action/sfComponents.class.php',
186     'sfdata' => 'addon/sfData.class.php',
187     'sfpager' => 'addon/sfPager.class.php',
188     'sfautoload' => 'autoload/sfAutoload.class.php',
189     'sfautoloadagain' => 'autoload/sfAutoloadAgain.class.php',
190     'sfcoreautoload' => 'autoload/sfCoreAutoload.class.php',
191     'sfsimpleautoload' => 'autoload/sfSimpleAutoload.class.php',
192     'sfapccache' => 'cache/sfAPCCache.class.php',
193     'sfcache' => 'cache/sfCache.class.php',
194     'sfeacceleratorcache' => 'cache/sfEAcceleratorCache.class.php',
195     'sffilecache' => 'cache/sfFileCache.class.php',
196     'sffunctioncache' => 'cache/sfFunctionCache.class.php',
197     'sfmemcachecache' => 'cache/sfMemcacheCache.class.php',
198     'sfnocache' => 'cache/sfNoCache.class.php',
199     'sfsqlitecache' => 'cache/sfSQLiteCache.class.php',
200     'sfxcachecache' => 'cache/sfXCacheCache.class.php',
201     'sfansicolorformatter' => 'command/sfAnsiColorFormatter.class.php',
202     'sfcommandapplication' => 'command/sfCommandApplication.class.php',
203     'sfcommandargument' => 'command/sfCommandArgument.class.php',
204     'sfcommandargumentset' => 'command/sfCommandArgumentSet.class.php',
205     'sfcommandargumentsexception' => 'command/sfCommandArgumentsException.class.php',
206     'sfcommandexception' => 'command/sfCommandException.class.php',
207     'sfcommandlogger' => 'command/sfCommandLogger.class.php',
208     'sfcommandmanager' => 'command/sfCommandManager.class.php',
209     'sfcommandoption' => 'command/sfCommandOption.class.php',
210     'sfcommandoptionset' => 'command/sfCommandOptionSet.class.php',
211     'sfformatter' => 'command/sfFormatter.class.php',
212     'sfsymfonycommandapplication' => 'command/sfSymfonyCommandApplication.class.php',
213     'sfapplicationconfiguration' => 'config/sfApplicationConfiguration.class.php',
214     'sfautoloadconfighandler' => 'config/sfAutoloadConfigHandler.class.php',
215     'sfcacheconfighandler' => 'config/sfCacheConfigHandler.class.php',
216     'sfcompileconfighandler' => 'config/sfCompileConfigHandler.class.php',
217     'sfconfig' => 'config/sfConfig.class.php',
218     'sfconfigcache' => 'config/sfConfigCache.class.php',
219     'sfconfighandler' => 'config/sfConfigHandler.class.php',
220     'sfdatabaseconfighandler' => 'config/sfDatabaseConfigHandler.class.php',
221     'sfdefineenvironmentconfighandler' => 'config/sfDefineEnvironmentConfigHandler.class.php',
222     'sffactoryconfighandler' => 'config/sfFactoryConfigHandler.class.php',
223     'sffilterconfighandler' => 'config/sfFilterConfigHandler.class.php',
224     'sfgeneratorconfighandler' => 'config/sfGeneratorConfigHandler.class.php',
225     'sfpluginconfiguration' => 'config/sfPluginConfiguration.class.php',
226     'sfpluginconfigurationgeneric' => 'config/sfPluginConfigurationGeneric.class.php',
227     'sfprojectconfiguration' => 'config/sfProjectConfiguration.class.php',
228     'sfrootconfighandler' => 'config/sfRootConfigHandler.class.php',
229     'sfroutingconfighandler' => 'config/sfRoutingConfigHandler.class.php',
230     'sfsecurityconfighandler' => 'config/sfSecurityConfigHandler.class.php',
231     'sfsimpleyamlconfighandler' => 'config/sfSimpleYamlConfigHandler.class.php',
232     'sfviewconfighandler' => 'config/sfViewConfigHandler.class.php',
233     'sfyamlconfighandler' => 'config/sfYamlConfigHandler.class.php',
234     'sfcontroller' => 'controller/sfController.class.php',
235     'sffrontwebcontroller' => 'controller/sfFrontWebController.class.php',
236     'sfwebcontroller' => 'controller/sfWebController.class.php',
237     'sfdatabase' => 'database/sfDatabase.class.php',
238     'sfdatabasemanager' => 'database/sfDatabaseManager.class.php',
239     'sfmysqldatabase' => 'database/sfMySQLDatabase.class.php',
240     'sfmysqlidatabase' => 'database/sfMySQLiDatabase.class.php',
241     'sfpdodatabase' => 'database/sfPDODatabase.class.php',
242     'sfpostgresqldatabase' => 'database/sfPostgreSQLDatabase.class.php',
243     'sfdebug' => 'debug/sfDebug.class.php',
244     'sftimer' => 'debug/sfTimer.class.php',
245     'sftimermanager' => 'debug/sfTimerManager.class.php',
246     'sfwebdebug' => 'debug/sfWebDebug.class.php',
247     'sfwebdebugpanel' => 'debug/sfWebDebugPanel.class.php',
248     'sfwebdebugpanelcache' => 'debug/sfWebDebugPanelCache.class.php',
249     'sfwebdebugpanelconfig' => 'debug/sfWebDebugPanelConfig.class.php',
250     'sfwebdebugpanellogs' => 'debug/sfWebDebugPanelLogs.class.php',
251     'sfwebdebugpanelmailer' => 'debug/sfWebDebugPanelMailer.class.php',
252     'sfwebdebugpanelmemory' => 'debug/sfWebDebugPanelMemory.class.php',
253     'sfwebdebugpanelsymfonyversion' => 'debug/sfWebDebugPanelSymfonyVersion.class.php',
254     'sfwebdebugpaneltimer' => 'debug/sfWebDebugPanelTimer.class.php',
255     'sfwebdebugpanelview' => 'debug/sfWebDebugPanelView.class.php',
256     'sfoutputescaper' => 'escaper/sfOutputEscaper.class.php',
257     'sfoutputescaperarraydecorator' => 'escaper/sfOutputEscaperArrayDecorator.class.php',
258     'sfoutputescapergetterdecorator' => 'escaper/sfOutputEscaperGetterDecorator.class.php',
259     'sfoutputescaperiteratordecorator' => 'escaper/sfOutputEscaperIteratorDecorator.class.php',
260     'sfoutputescaperobjectdecorator' => 'escaper/sfOutputEscaperObjectDecorator.class.php',
261     'sfoutputescapersafe' => 'escaper/sfOutputEscaperSafe.class.php',
262     'sfevent' => 'event_dispatcher/sfEvent.php',
263     'sfeventdispatcher' => 'event_dispatcher/sfEventDispatcher.php',
264     'sfcacheexception' => 'exception/sfCacheException.class.php',
265     'sfconfigurationexception' => 'exception/sfConfigurationException.class.php',
266     'sfcontrollerexception' => 'exception/sfControllerException.class.php',
267     'sfdatabaseexception' => 'exception/sfDatabaseException.class.php',
268     'sferror404exception' => 'exception/sfError404Exception.class.php',
269     'sfexception' => 'exception/sfException.class.php',
270     'sffactoryexception' => 'exception/sfFactoryException.class.php',
271     'sffileexception' => 'exception/sfFileException.class.php',
272     'sffilterexception' => 'exception/sfFilterException.class.php',
273     'sfforwardexception' => 'exception/sfForwardException.class.php',
274     'sfinitializationexception' => 'exception/sfInitializationException.class.php',
275     'sfparseexception' => 'exception/sfParseException.class.php',
276     'sfrenderexception' => 'exception/sfRenderException.class.php',
277     'sfsecurityexception' => 'exception/sfSecurityException.class.php',
278     'sfstopexception' => 'exception/sfStopException.class.php',
279     'sfstorageexception' => 'exception/sfStorageException.class.php',
280     'sfviewexception' => 'exception/sfViewException.class.php',
281     'sfbasicsecurityfilter' => 'filter/sfBasicSecurityFilter.class.php',
282     'sfcachefilter' => 'filter/sfCacheFilter.class.php',
283     'sfcommonfilter' => 'filter/sfCommonFilter.class.php',
284     'sfexecutionfilter' => 'filter/sfExecutionFilter.class.php',
285     'sffilter' => 'filter/sfFilter.class.php',
286     'sffilterchain' => 'filter/sfFilterChain.class.php',
287     'sfrenderingfilter' => 'filter/sfRenderingFilter.class.php',
288     'sfformfilter' => 'form/addon/sfFormFilter.class.php',
289     'sfformobject' => 'form/addon/sfFormObject.class.php',
290     'sfformsymfony' => 'form/addon/sfFormSymfony.class.php',
291     'sfform' => 'form/sfForm.class.php',
292     'sfformfield' => 'form/sfFormField.class.php',
293     'sfformfieldschema' => 'form/sfFormFieldSchema.class.php',
294     'sfgenerator' => 'generator/sfGenerator.class.php',
295     'sfgeneratormanager' => 'generator/sfGeneratorManager.class.php',
296     'sfmodelgenerator' => 'generator/sfModelGenerator.class.php',
297     'sfmodelgeneratorconfiguration' => 'generator/sfModelGeneratorConfiguration.class.php',
298     'sfmodelgeneratorconfigurationfield' => 'generator/sfModelGeneratorConfigurationField.class.php',
299     'sfmodelgeneratorhelper' => 'generator/sfModelGeneratorHelper.class.php',
300     'tgettext' => 'i18n/Gettext/TGettext.class.php',
301     'sfi18napplicationextract' => 'i18n/extract/sfI18nApplicationExtract.class.php',
302     'sfi18nextract' => 'i18n/extract/sfI18nExtract.class.php',
303     'sfi18nextractorinterface' => 'i18n/extract/sfI18nExtractorInterface.class.php',
304     'sfi18nmoduleextract' => 'i18n/extract/sfI18nModuleExtract.class.php',
305     'sfi18nphpextractor' => 'i18n/extract/sfI18nPhpExtractor.class.php',
306     'sfi18nyamlextractor' => 'i18n/extract/sfI18nYamlExtractor.class.php',
307     'sfi18nyamlgeneratorextractor' => 'i18n/extract/sfI18nYamlGeneratorExtractor.class.php',
308     'sfi18nyamlvalidateextractor' => 'i18n/extract/sfI18nYamlValidateExtractor.class.php',
309     'sfchoiceformat' => 'i18n/sfChoiceFormat.class.php',
310     'sfcultureinfo' => 'i18n/sfCultureInfo.class.php',
311     'sfdateformat' => 'i18n/sfDateFormat.class.php',
312     'sfdatetimeformatinfo' => 'i18n/sfDateTimeFormatInfo.class.php',
313     'sfi18n' => 'i18n/sfI18N.class.php',
314     'sfimessagesource' => 'i18n/sfIMessageSource.class.php',
315     'sfmessageformat' => 'i18n/sfMessageFormat.class.php',
316     'sfmessagesource' => 'i18n/sfMessageSource.class.php',
317     'sfmessagesource_aggregate' => 'i18n/sfMessageSource_Aggregate.class.php',
318     'sfmessagesource_database' => 'i18n/sfMessageSource_Database.class.php',
319     'sfmessagesource_file' => 'i18n/sfMessageSource_File.class.php',
320     'sfmessagesource_mysql' => 'i18n/sfMessageSource_MySQL.class.php',
321     'sfmessagesource_sqlite' => 'i18n/sfMessageSource_SQLite.class.php',
322     'sfmessagesource_xliff' => 'i18n/sfMessageSource_XLIFF.class.php',
323     'sfmessagesource_gettext' => 'i18n/sfMessageSource_gettext.class.php',
324     'sfnumberformat' => 'i18n/sfNumberFormat.class.php',
325     'sfnumberformatinfo' => 'i18n/sfNumberFormatInfo.class.php',
326     'sfaggregatelogger' => 'log/sfAggregateLogger.class.php',
327     'sfconsolelogger' => 'log/sfConsoleLogger.class.php',
328     'sffilelogger' => 'log/sfFileLogger.class.php',
329     'sflogger' => 'log/sfLogger.class.php',
330     'sfloggerinterface' => 'log/sfLoggerInterface.class.php',
331     'sfloggerwrapper' => 'log/sfLoggerWrapper.class.php',
332     'sfnologger' => 'log/sfNoLogger.class.php',
333     'sfstreamlogger' => 'log/sfStreamLogger.class.php',
334     'sfvarlogger' => 'log/sfVarLogger.class.php',
335     'sfwebdebuglogger' => 'log/sfWebDebugLogger.class.php',
336     'sfmailer' => 'mailer/sfMailer.class.php',
337     'sfmailermessageloggerplugin' => 'mailer/sfMailerMessageLoggerPlugin.class.php',
338     'sfpearconfig' => 'plugin/sfPearConfig.class.php',
339     'sfpeardownloader' => 'plugin/sfPearDownloader.class.php',
340     'sfpearenvironment' => 'plugin/sfPearEnvironment.class.php',
341     'sfpearfrontendplugin' => 'plugin/sfPearFrontendPlugin.class.php',
342     'sfpearrest' => 'plugin/sfPearRest.class.php',
343     'sfpearrest10' => 'plugin/sfPearRest10.class.php',
344     'sfpearrest11' => 'plugin/sfPearRest11.class.php',
345     'sfpearrestplugin' => 'plugin/sfPearRestPlugin.class.php',
346     'sfplugindependencyexception' => 'plugin/sfPluginDependencyException.class.php',
347     'sfpluginexception' => 'plugin/sfPluginException.class.php',
348     'sfpluginmanager' => 'plugin/sfPluginManager.class.php',
349     'sfpluginrecursivedependencyexception' => 'plugin/sfPluginRecursiveDependencyException.class.php',
350     'sfpluginrestexception' => 'plugin/sfPluginRestException.class.php',
351     'sfsymfonypluginmanager' => 'plugin/sfSymfonyPluginManager.class.php',
352     'sfrequest' => 'request/sfRequest.class.php',
353     'sfwebrequest' => 'request/sfWebRequest.class.php',
354     'sfresponse' => 'response/sfResponse.class.php',
355     'sfwebresponse' => 'response/sfWebResponse.class.php',
356     'sfobjectroute' => 'routing/sfObjectRoute.class.php',
357     'sfobjectroutecollection' => 'routing/sfObjectRouteCollection.class.php',
358     'sfpatternrouting' => 'routing/sfPatternRouting.class.php',
359     'sfrequestroute' => 'routing/sfRequestRoute.class.php',
360     'sfroute' => 'routing/sfRoute.class.php',
361     'sfroutecollection' => 'routing/sfRouteCollection.class.php',
362     'sfrouting' => 'routing/sfRouting.class.php',
363     'sfcachesessionstorage' => 'storage/sfCacheSessionStorage.class.php',
364     'sfdatabasesessionstorage' => 'storage/sfDatabaseSessionStorage.class.php',
365     'sfmysqlsessionstorage' => 'storage/sfMySQLSessionStorage.class.php',
366     'sfmysqlisessionstorage' => 'storage/sfMySQLiSessionStorage.class.php',
367     'sfnostorage' => 'storage/sfNoStorage.class.php',
368     'sfpdosessionstorage' => 'storage/sfPDOSessionStorage.class.php',
369     'sfpostgresqlsessionstorage' => 'storage/sfPostgreSQLSessionStorage.class.php',
370     'sfsessionstorage' => 'storage/sfSessionStorage.class.php',
371     'sfsessionteststorage' => 'storage/sfSessionTestStorage.class.php',
372     'sfstorage' => 'storage/sfStorage.class.php',
373     'sfapproutestask' => 'task/app/sfAppRoutesTask.class.php',
374     'sfcachecleartask' => 'task/cache/sfCacheClearTask.class.php',
375     'sfconfigureauthortask' => 'task/configure/sfConfigureAuthorTask.class.php',
376     'sfgenerateapptask' => 'task/generator/sfGenerateAppTask.class.php',
377     'sfgeneratemoduletask' => 'task/generator/sfGenerateModuleTask.class.php',
378     'sfgenerateprojecttask' => 'task/generator/sfGenerateProjectTask.class.php',
379     'sfgeneratetasktask' => 'task/generator/sfGenerateTaskTask.class.php',
380     'sfgeneratorbasetask' => 'task/generator/sfGeneratorBaseTask.class.php',
381     'sfhelptask' => 'task/help/sfHelpTask.class.php',
382     'sflisttask' => 'task/help/sfListTask.class.php',
383     'sfi18nextracttask' => 'task/i18n/sfI18nExtractTask.class.php',
384     'sfi18nfindtask' => 'task/i18n/sfI18nFindTask.class.php',
385     'sflogcleartask' => 'task/log/sfLogClearTask.class.php',
386     'sflogrotatetask' => 'task/log/sfLogRotateTask.class.php',
387     'sfpluginaddchanneltask' => 'task/plugin/sfPluginAddChannelTask.class.php',
388     'sfpluginbasetask' => 'task/plugin/sfPluginBaseTask.class.php',
389     'sfplugininstalltask' => 'task/plugin/sfPluginInstallTask.class.php',
390     'sfpluginlisttask' => 'task/plugin/sfPluginListTask.class.php',
391     'sfpluginpublishassetstask' => 'task/plugin/sfPluginPublishAssetsTask.class.php',
392     'sfpluginuninstalltask' => 'task/plugin/sfPluginUninstallTask.class.php',
393     'sfpluginupgradetask' => 'task/plugin/sfPluginUpgradeTask.class.php',
394     'sfprojectclearcontrollerstask' => 'task/project/sfProjectClearControllersTask.class.php',
395     'sfprojectdeploytask' => 'task/project/sfProjectDeployTask.class.php',
396     'sfprojectdisabletask' => 'task/project/sfProjectDisableTask.class.php',
397     'sfprojectenabletask' => 'task/project/sfProjectEnableTask.class.php',
398     'sfprojectoptimizetask' => 'task/project/sfProjectOptimizeTask.class.php',
399     'sfprojectpermissionstask' => 'task/project/sfProjectPermissionsTask.class.php',
400     'sfprojectsendemailstask' => 'task/project/sfProjectSendEmailsTask.class.php',
401     'sfdeprecatedclassesvalidation' => 'task/project/validation/sfDeprecatedClassesValidation.class.php',
402     'sfdeprecatedconfigurationfilesvalidation' => 'task/project/validation/sfDeprecatedConfigurationFilesValidation.class.php',
403     'sfdeprecatedhelpersvalidation' => 'task/project/validation/sfDeprecatedHelpersValidation.class.php',
404     'sfdeprecatedmethodsvalidation' => 'task/project/validation/sfDeprecatedMethodsValidation.class.php',
405     'sfdeprecatedpluginsvalidation' => 'task/project/validation/sfDeprecatedPluginsValidation.class.php',
406     'sfdeprecatedsettingsvalidation' => 'task/project/validation/sfDeprecatedSettingsValidation.class.php',
407     'sfparameterholdervalidation' => 'task/project/validation/sfParameterHolderValidation.class.php',
408     'sfvalidation' => 'task/project/validation/sfValidation.class.php',
409     'sfbasetask' => 'task/sfBaseTask.class.php',
410     'sfcommandapplicationtask' => 'task/sfCommandApplicationTask.class.php',
411     'sffilesystem' => 'task/sfFilesystem.class.php',
412     'sftask' => 'task/sfTask.class.php',
413     'lime_symfony' => 'task/symfony/lime_symfony.php',
414     'sfsymfonytesttask' => 'task/symfony/sfSymfonyTestTask.class.php',
415     'sflimeharness' => 'task/test/sfLimeHarness.class.php',
416     'sftestalltask' => 'task/test/sfTestAllTask.class.php',
417     'sftestbasetask' => 'task/test/sfTestBaseTask.class.php',
418     'sftestcoveragetask' => 'task/test/sfTestCoverageTask.class.php',
419     'sftestfunctionaltask' => 'task/test/sfTestFunctionalTask.class.php',
420     'sftestunittask' => 'task/test/sfTestUnitTask.class.php',
421     'sftestbrowser' => 'test/sfTestBrowser.class.php',
422     'sftestfunctional' => 'test/sfTestFunctional.class.php',
423     'sftestfunctionalbase' => 'test/sfTestFunctionalBase.class.php',
424     'sftester' => 'test/sfTester.class.php',
425     'sftesterform' => 'test/sfTesterForm.class.php',
426     'sftestermailer' => 'test/sfTesterMailer.class.php',
427     'sftesterrequest' => 'test/sfTesterRequest.class.php',
428     'sftesterresponse' => 'test/sfTesterResponse.class.php',
429     'sftesteruser' => 'test/sfTesterUser.class.php',
430     'sftesterviewcache' => 'test/sfTesterViewCache.class.php',
431     'sfbasicsecurityuser' => 'user/sfBasicSecurityUser.class.php',
432     'sfsecurityuser' => 'user/sfSecurityUser.class.php',
433     'sfuser' => 'user/sfUser.class.php',
434     'sfbrowser' => 'util/sfBrowser.class.php',
435     'sfbrowserbase' => 'util/sfBrowserBase.class.php',
436     'sfcallable' => 'util/sfCallable.class.php',
437     'sfclassmanipulator' => 'util/sfClassManipulator.class.php',
438     'sfcontext' => 'util/sfContext.class.php',
439     'sfdomcssselector' => 'util/sfDomCssSelector.class.php',
440     'sffinder' => 'util/sfFinder.class.php',
441     'sfinflector' => 'util/sfInflector.class.php',
442     'sfnamespacedparameterholder' => 'util/sfNamespacedParameterHolder.class.php',
443     'sfparameterholder' => 'util/sfParameterHolder.class.php',
444     'sftoolkit' => 'util/sfToolkit.class.php',
445     'sfvalidatori18nchoicecountry' => 'validator/i18n/sfValidatorI18nChoiceCountry.class.php',
446     'sfvalidatori18nchoicelanguage' => 'validator/i18n/sfValidatorI18nChoiceLanguage.class.php',
447     'sfvalidatori18nchoicetimezone' => 'validator/i18n/sfValidatorI18nChoiceTimezone.class.php',
448     'sfvalidatedfile' => 'validator/sfValidatedFile.class.php',
449     'sfvalidatorand' => 'validator/sfValidatorAnd.class.php',
450     'sfvalidatorbase' => 'validator/sfValidatorBase.class.php',
451     'sfvalidatorboolean' => 'validator/sfValidatorBoolean.class.php',
452     'sfvalidatorcsrftoken' => 'validator/sfValidatorCSRFToken.class.php',
453     'sfvalidatorcallback' => 'validator/sfValidatorCallback.class.php',
454     'sfvalidatorchoice' => 'validator/sfValidatorChoice.class.php',
455     'sfvalidatordate' => 'validator/sfValidatorDate.class.php',
456     'sfvalidatordaterange' => 'validator/sfValidatorDateRange.class.php',
457     'sfvalidatordatetime' => 'validator/sfValidatorDateTime.class.php',
458     'sfvalidatordecorator' => 'validator/sfValidatorDecorator.class.php',
459     'sfvalidatoremail' => 'validator/sfValidatorEmail.class.php',
460     'sfvalidatorerror' => 'validator/sfValidatorError.class.php',
461     'sfvalidatorerrorschema' => 'validator/sfValidatorErrorSchema.class.php',
462     'sfvalidatorfile' => 'validator/sfValidatorFile.class.php',
463     'sfvalidatorfromdescription' => 'validator/sfValidatorFromDescription.class.php',
464     'sfvalidatorinteger' => 'validator/sfValidatorInteger.class.php',
465     'sfvalidatornumber' => 'validator/sfValidatorNumber.class.php',
466     'sfvalidatoror' => 'validator/sfValidatorOr.class.php',
467     'sfvalidatorpass' => 'validator/sfValidatorPass.class.php',
468     'sfvalidatorregex' => 'validator/sfValidatorRegex.class.php',
469     'sfvalidatorschema' => 'validator/sfValidatorSchema.class.php',
470     'sfvalidatorschemacompare' => 'validator/sfValidatorSchemaCompare.class.php',
471     'sfvalidatorschemafilter' => 'validator/sfValidatorSchemaFilter.class.php',
472     'sfvalidatorschemaforeach' => 'validator/sfValidatorSchemaForEach.class.php',
473     'sfvalidatorstring' => 'validator/sfValidatorString.class.php',
474     'sfvalidatortime' => 'validator/sfValidatorTime.class.php',
475     'sfvalidatorurl' => 'validator/sfValidatorUrl.class.php',
476     'sfphpview' => 'view/sfPHPView.class.php',
477     'sfpartialview' => 'view/sfPartialView.class.php',
478     'sfview' => 'view/sfView.class.php',
479     'sfviewcachemanager' => 'view/sfViewCacheManager.class.php',
480     'sfviewparameterholder' => 'view/sfViewParameterHolder.class.php',
481     'sfwidgetformi18nchoicecountry' => 'widget/i18n/sfWidgetFormI18nChoiceCountry.class.php',
482     'sfwidgetformi18nchoicecurrency' => 'widget/i18n/sfWidgetFormI18nChoiceCurrency.class.php',
483     'sfwidgetformi18nchoicelanguage' => 'widget/i18n/sfWidgetFormI18nChoiceLanguage.class.php',
484     'sfwidgetformi18nchoicetimezone' => 'widget/i18n/sfWidgetFormI18nChoiceTimezone.class.php',
485     'sfwidgetformi18ndate' => 'widget/i18n/sfWidgetFormI18nDate.class.php',
486     'sfwidgetformi18ndatetime' => 'widget/i18n/sfWidgetFormI18nDateTime.class.php',
487     'sfwidgetformi18ntime' => 'widget/i18n/sfWidgetFormI18nTime.class.php',
488     'sfwidget' => 'widget/sfWidget.class.php',
489     'sfwidgetform' => 'widget/sfWidgetForm.class.php',
490     'sfwidgetformchoice' => 'widget/sfWidgetFormChoice.class.php',
491     'sfwidgetformchoicebase' => 'widget/sfWidgetFormChoiceBase.class.php',
492     'sfwidgetformdate' => 'widget/sfWidgetFormDate.class.php',
493     'sfwidgetformdaterange' => 'widget/sfWidgetFormDateRange.class.php',
494     'sfwidgetformdatetime' => 'widget/sfWidgetFormDateTime.class.php',
495     'sfwidgetformfilterdate' => 'widget/sfWidgetFormFilterDate.class.php',
496     'sfwidgetformfilterinput' => 'widget/sfWidgetFormFilterInput.class.php',
497     'sfwidgetforminput' => 'widget/sfWidgetFormInput.class.php',
498     'sfwidgetforminputcheckbox' => 'widget/sfWidgetFormInputCheckbox.class.php',
499     'sfwidgetforminputfile' => 'widget/sfWidgetFormInputFile.class.php',
500     'sfwidgetforminputfileeditable' => 'widget/sfWidgetFormInputFileEditable.class.php',
501     'sfwidgetforminputhidden' => 'widget/sfWidgetFormInputHidden.class.php',
502     'sfwidgetforminputpassword' => 'widget/sfWidgetFormInputPassword.class.php',
503     'sfwidgetforminputtext' => 'widget/sfWidgetFormInputText.class.php',
504     'sfwidgetformschema' => 'widget/sfWidgetFormSchema.class.php',
505     'sfwidgetformschemadecorator' => 'widget/sfWidgetFormSchemaDecorator.class.php',
506     'sfwidgetformschemaforeach' => 'widget/sfWidgetFormSchemaForEach.class.php',
507     'sfwidgetformschemaformatter' => 'widget/sfWidgetFormSchemaFormatter.class.php',
508     'sfwidgetformschemaformatterlist' => 'widget/sfWidgetFormSchemaFormatterList.class.php',
509     'sfwidgetformschemaformattertable' => 'widget/sfWidgetFormSchemaFormatterTable.class.php',
510     'sfwidgetformselect' => 'widget/sfWidgetFormSelect.class.php',
511     'sfwidgetformselectcheckbox' => 'widget/sfWidgetFormSelectCheckbox.class.php',
512     'sfwidgetformselectmany' => 'widget/sfWidgetFormSelectMany.class.php',
513     'sfwidgetformselectradio' => 'widget/sfWidgetFormSelectRadio.class.php',
514     'sfwidgetformtextarea' => 'widget/sfWidgetFormTextarea.class.php',
515     'sfwidgetformtime' => 'widget/sfWidgetFormTime.class.php',
516     'sfyaml' => 'yaml/sfYaml.php',
517     'sfyamldumper' => 'yaml/sfYamlDumper.php',
518     'sfyamlinline' => 'yaml/sfYamlInline.php',
519     'sfyamlparser' => 'yaml/sfYamlParser.php',
520   );
521 }
522
Note: See TracBrowser for help on using the browser.