Development

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

You must first sign up to be able to contribute.

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

Revision 32414, 28.2 kB (checked in by Kris.Wallsmith , 4 years ago)

[1.3] updated version constant

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