PageRenderTime 51ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/lib/autoload/sfCoreAutoload.class.php

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