sfCoreAutoload.class.php 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  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.2.6');
  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 17682 2009-04-27 15:24:21Z fabien $
  23. */
  24. class sfCoreAutoload
  25. {
  26. static protected
  27. $registered = false,
  28. $instance = null;
  29. protected
  30. $baseDir = '';
  31. protected function __construct()
  32. {
  33. $this->baseDir = realpath(dirname(__FILE__).'/..').'/';
  34. }
  35. /**
  36. * Retrieves the singleton instance of this class.
  37. *
  38. * @return sfCoreAutoload A sfCoreAutoload implementation instance.
  39. */
  40. static public function getInstance()
  41. {
  42. if (!isset(self::$instance))
  43. {
  44. self::$instance = new sfCoreAutoload();
  45. }
  46. return self::$instance;
  47. }
  48. /**
  49. * Register sfCoreAutoload in spl autoloader.
  50. *
  51. * @return void
  52. */
  53. static public function register()
  54. {
  55. if (self::$registered)
  56. {
  57. return;
  58. }
  59. ini_set('unserialize_callback_func', 'spl_autoload_call');
  60. if (false === spl_autoload_register(array(self::getInstance(), 'autoload')))
  61. {
  62. throw new sfException(sprintf('Unable to register %s::autoload as an autoloading method.', get_class(self::getInstance())));
  63. }
  64. self::$registered = true;
  65. }
  66. /**
  67. * Unregister sfCoreAutoload from spl autoloader.
  68. *
  69. * @return void
  70. */
  71. static public function unregister()
  72. {
  73. spl_autoload_unregister(array(self::getInstance(), 'autoload'));
  74. }
  75. /**
  76. * Handles autoloading of classes.
  77. *
  78. * @param string $class A class name.
  79. *
  80. * @return boolean Returns true if the class has been loaded
  81. */
  82. public function autoload($class)
  83. {
  84. if (!isset($this->classes[$class]))
  85. {
  86. return false;
  87. }
  88. require $this->baseDir.$this->classes[$class].'/'.$class.'.class.php';
  89. return true;
  90. }
  91. /**
  92. * Returns the base directory this autoloader is working on.
  93. *
  94. * @return base directory
  95. */
  96. public function getBaseDir()
  97. {
  98. return $this->baseDir;
  99. }
  100. /**
  101. * Rebuilds the association array between class names and paths.
  102. *
  103. * This method overrides this file (__FILE__)
  104. */
  105. static public function make()
  106. {
  107. $libDir = str_replace(DIRECTORY_SEPARATOR, '/', realpath(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'));
  108. require_once $libDir.'/util/sfFinder.class.php';
  109. $files = sfFinder::type('file')
  110. ->prune('plugins')
  111. ->prune('vendor')
  112. ->prune('skeleton')
  113. ->prune('default')
  114. ->name('*\.class\.php')
  115. ->in($libDir)
  116. ;
  117. sort($files, SORT_STRING);
  118. $classes = array();
  119. foreach ($files as $file)
  120. {
  121. $classes[basename($file, '.class.php')] = str_replace($libDir.'/', '', str_replace(DIRECTORY_SEPARATOR, '/', dirname($file)));
  122. }
  123. $content = preg_replace('/protected \$classes = array *\(.*?\)/s', 'protected $classes = '.var_export($classes, true), file_get_contents(__FILE__));
  124. file_put_contents(__FILE__, $content);
  125. }
  126. // Don't edit this property by hand.
  127. // To update it, use sfCoreAutoload::make()
  128. protected $classes = array (
  129. 'sfAction' => 'action',
  130. 'sfActionStack' => 'action',
  131. 'sfActionStackEntry' => 'action',
  132. 'sfActions' => 'action',
  133. 'sfComponent' => 'action',
  134. 'sfComponents' => 'action',
  135. 'sfData' => 'addon',
  136. 'sfPager' => 'addon',
  137. 'sfAutoload' => 'autoload',
  138. 'sfCoreAutoload' => 'autoload',
  139. 'sfSimpleAutoload' => 'autoload',
  140. 'sfAPCCache' => 'cache',
  141. 'sfCache' => 'cache',
  142. 'sfEAcceleratorCache' => 'cache',
  143. 'sfFileCache' => 'cache',
  144. 'sfFunctionCache' => 'cache',
  145. 'sfMemcacheCache' => 'cache',
  146. 'sfNoCache' => 'cache',
  147. 'sfSQLiteCache' => 'cache',
  148. 'sfXCacheCache' => 'cache',
  149. 'sfAnsiColorFormatter' => 'command',
  150. 'sfCommandApplication' => 'command',
  151. 'sfCommandArgument' => 'command',
  152. 'sfCommandArgumentSet' => 'command',
  153. 'sfCommandArgumentsException' => 'command',
  154. 'sfCommandException' => 'command',
  155. 'sfCommandLogger' => 'command',
  156. 'sfCommandManager' => 'command',
  157. 'sfCommandOption' => 'command',
  158. 'sfCommandOptionSet' => 'command',
  159. 'sfFormatter' => 'command',
  160. 'sfSymfonyCommandApplication' => 'command',
  161. 'sfApplicationConfiguration' => 'config',
  162. 'sfAutoloadConfigHandler' => 'config',
  163. 'sfCacheConfigHandler' => 'config',
  164. 'sfCompileConfigHandler' => 'config',
  165. 'sfConfig' => 'config',
  166. 'sfConfigCache' => 'config',
  167. 'sfConfigHandler' => 'config',
  168. 'sfDatabaseConfigHandler' => 'config',
  169. 'sfDefineEnvironmentConfigHandler' => 'config',
  170. 'sfFactoryConfigHandler' => 'config',
  171. 'sfFilterConfigHandler' => 'config',
  172. 'sfGeneratorConfigHandler' => 'config',
  173. 'sfLoader' => 'config',
  174. 'sfPluginConfiguration' => 'config',
  175. 'sfPluginConfigurationGeneric' => 'config',
  176. 'sfProjectConfiguration' => 'config',
  177. 'sfRootConfigHandler' => 'config',
  178. 'sfRoutingConfigHandler' => 'config',
  179. 'sfSecurityConfigHandler' => 'config',
  180. 'sfSimpleYamlConfigHandler' => 'config',
  181. 'sfViewConfigHandler' => 'config',
  182. 'sfYamlConfigHandler' => 'config',
  183. 'sfConsoleController' => 'controller',
  184. 'sfController' => 'controller',
  185. 'sfFrontWebController' => 'controller',
  186. 'sfWebController' => 'controller',
  187. 'sfDatabase' => 'database',
  188. 'sfDatabaseManager' => 'database',
  189. 'sfMySQLDatabase' => 'database',
  190. 'sfMySQLiDatabase' => 'database',
  191. 'sfPDODatabase' => 'database',
  192. 'sfPostgreSQLDatabase' => 'database',
  193. 'sfDebug' => 'debug',
  194. 'sfTimer' => 'debug',
  195. 'sfTimerManager' => 'debug',
  196. 'sfWebDebug' => 'debug',
  197. 'sfWebDebugPanel' => 'debug',
  198. 'sfWebDebugPanelCache' => 'debug',
  199. 'sfWebDebugPanelConfig' => 'debug',
  200. 'sfWebDebugPanelLogs' => 'debug',
  201. 'sfWebDebugPanelMemory' => 'debug',
  202. 'sfWebDebugPanelSymfonyVersion' => 'debug',
  203. 'sfWebDebugPanelTimer' => 'debug',
  204. 'sfEvent' => 'event',
  205. 'sfEventDispatcher' => 'event',
  206. 'sfCacheException' => 'exception',
  207. 'sfConfigurationException' => 'exception',
  208. 'sfControllerException' => 'exception',
  209. 'sfDatabaseException' => 'exception',
  210. 'sfError404Exception' => 'exception',
  211. 'sfException' => 'exception',
  212. 'sfFactoryException' => 'exception',
  213. 'sfFileException' => 'exception',
  214. 'sfFilterException' => 'exception',
  215. 'sfForwardException' => 'exception',
  216. 'sfInitializationException' => 'exception',
  217. 'sfParseException' => 'exception',
  218. 'sfRenderException' => 'exception',
  219. 'sfSecurityException' => 'exception',
  220. 'sfStopException' => 'exception',
  221. 'sfStorageException' => 'exception',
  222. 'sfViewException' => 'exception',
  223. 'sfBasicSecurityFilter' => 'filter',
  224. 'sfCacheFilter' => 'filter',
  225. 'sfCommonFilter' => 'filter',
  226. 'sfExecutionFilter' => 'filter',
  227. 'sfFilter' => 'filter',
  228. 'sfFilterChain' => 'filter',
  229. 'sfRenderingFilter' => 'filter',
  230. 'sfForm' => 'form',
  231. 'sfFormField' => 'form',
  232. 'sfFormFieldSchema' => 'form',
  233. 'sfFormFilter' => 'form',
  234. 'sfAdminGenerator' => 'generator',
  235. 'sfCrudGenerator' => 'generator',
  236. 'sfGenerator' => 'generator',
  237. 'sfGeneratorManager' => 'generator',
  238. 'sfModelGenerator' => 'generator',
  239. 'sfModelGeneratorConfiguration' => 'generator',
  240. 'sfModelGeneratorConfigurationField' => 'generator',
  241. 'sfModelGeneratorHelper' => 'generator',
  242. 'sfRichTextEditor' => 'helper',
  243. 'sfRichTextEditorFCK' => 'helper',
  244. 'sfRichTextEditorTinyMCE' => 'helper',
  245. 'TGettext' => 'i18n/Gettext',
  246. 'sfI18nApplicationExtract' => 'i18n/extract',
  247. 'sfI18nExtract' => 'i18n/extract',
  248. 'sfI18nExtractorInterface' => 'i18n/extract',
  249. 'sfI18nModuleExtract' => 'i18n/extract',
  250. 'sfI18nPhpExtractor' => 'i18n/extract',
  251. 'sfI18nYamlExtractor' => 'i18n/extract',
  252. 'sfI18nYamlGeneratorExtractor' => 'i18n/extract',
  253. 'sfI18nYamlValidateExtractor' => 'i18n/extract',
  254. 'sfChoiceFormat' => 'i18n',
  255. 'sfCultureInfo' => 'i18n',
  256. 'sfDateFormat' => 'i18n',
  257. 'sfDateTimeFormatInfo' => 'i18n',
  258. 'sfI18N' => 'i18n',
  259. 'sfIMessageSource' => 'i18n',
  260. 'sfMessageFormat' => 'i18n',
  261. 'sfMessageSource' => 'i18n',
  262. 'sfMessageSource_Aggregate' => 'i18n',
  263. 'sfMessageSource_Database' => 'i18n',
  264. 'sfMessageSource_File' => 'i18n',
  265. 'sfMessageSource_MySQL' => 'i18n',
  266. 'sfMessageSource_SQLite' => 'i18n',
  267. 'sfMessageSource_XLIFF' => 'i18n',
  268. 'sfMessageSource_gettext' => 'i18n',
  269. 'sfNumberFormat' => 'i18n',
  270. 'sfNumberFormatInfo' => 'i18n',
  271. 'sfAggregateLogger' => 'log',
  272. 'sfConsoleLogger' => 'log',
  273. 'sfFileLogger' => 'log',
  274. 'sfLogger' => 'log',
  275. 'sfLoggerInterface' => 'log',
  276. 'sfLoggerWrapper' => 'log',
  277. 'sfNoLogger' => 'log',
  278. 'sfStreamLogger' => 'log',
  279. 'sfVarLogger' => 'log',
  280. 'sfWebDebugLogger' => 'log',
  281. 'sfPearDownloader' => 'plugin',
  282. 'sfPearEnvironment' => 'plugin',
  283. 'sfPearFrontendPlugin' => 'plugin',
  284. 'sfPearRest' => 'plugin',
  285. 'sfPearRest10' => 'plugin',
  286. 'sfPearRest11' => 'plugin',
  287. 'sfPearRestPlugin' => 'plugin',
  288. 'sfPluginDependencyException' => 'plugin',
  289. 'sfPluginException' => 'plugin',
  290. 'sfPluginManager' => 'plugin',
  291. 'sfPluginRecursiveDependencyException' => 'plugin',
  292. 'sfPluginRestException' => 'plugin',
  293. 'sfSymfonyPluginManager' => 'plugin',
  294. 'sfConsoleRequest' => 'request',
  295. 'sfRequest' => 'request',
  296. 'sfWebRequest' => 'request',
  297. 'sfConsoleResponse' => 'response',
  298. 'sfResponse' => 'response',
  299. 'sfWebResponse' => 'response',
  300. 'sfNoRouting' => 'routing',
  301. 'sfObjectRoute' => 'routing',
  302. 'sfObjectRouteCollection' => 'routing',
  303. 'sfPathInfoRouting' => 'routing',
  304. 'sfPatternRouting' => 'routing',
  305. 'sfRequestRoute' => 'routing',
  306. 'sfRoute' => 'routing',
  307. 'sfRouteCollection' => 'routing',
  308. 'sfRouting' => 'routing',
  309. 'sfCacheSessionStorage' => 'storage',
  310. 'sfDatabaseSessionStorage' => 'storage',
  311. 'sfMySQLSessionStorage' => 'storage',
  312. 'sfMySQLiSessionStorage' => 'storage',
  313. 'sfNoStorage' => 'storage',
  314. 'sfPDOSessionStorage' => 'storage',
  315. 'sfPostgreSQLSessionStorage' => 'storage',
  316. 'sfSessionStorage' => 'storage',
  317. 'sfSessionTestStorage' => 'storage',
  318. 'sfStorage' => 'storage',
  319. 'sfAppRoutesTask' => 'task/app',
  320. 'sfCacheClearTask' => 'task/cache',
  321. 'sfConfigureAuthorTask' => 'task/configure',
  322. 'sfConfigureDatabaseTask' => 'task/configure',
  323. 'sfGenerateAppTask' => 'task/generator',
  324. 'sfGenerateModuleTask' => 'task/generator',
  325. 'sfGenerateProjectTask' => 'task/generator',
  326. 'sfGenerateTaskTask' => 'task/generator',
  327. 'sfGeneratorBaseTask' => 'task/generator',
  328. 'sfHelpTask' => 'task/help',
  329. 'sfListTask' => 'task/help',
  330. 'sfI18nExtractTask' => 'task/i18n',
  331. 'sfI18nFindTask' => 'task/i18n',
  332. 'sfLogClearTask' => 'task/log',
  333. 'sfLogRotateTask' => 'task/log',
  334. 'sfPluginAddChannelTask' => 'task/plugin',
  335. 'sfPluginBaseTask' => 'task/plugin',
  336. 'sfPluginInstallTask' => 'task/plugin',
  337. 'sfPluginListTask' => 'task/plugin',
  338. 'sfPluginPublishAssetsTask' => 'task/plugin',
  339. 'sfPluginUninstallTask' => 'task/plugin',
  340. 'sfPluginUpgradeTask' => 'task/plugin',
  341. 'sfProjectClearControllersTask' => 'task/project',
  342. 'sfProjectDeployTask' => 'task/project',
  343. 'sfProjectDisableTask' => 'task/project',
  344. 'sfProjectEnableTask' => 'task/project',
  345. 'sfProjectFreezeTask' => 'task/project',
  346. 'sfProjectPermissionsTask' => 'task/project',
  347. 'sfProjectUnfreezeTask' => 'task/project',
  348. 'sfUpgradeTo11Task' => 'task/project',
  349. 'sfUpgradeTo12Task' => 'task/project',
  350. 'sfComponentUpgrade' => 'task/project/upgrade1.1',
  351. 'sfConfigFileUpgrade' => 'task/project/upgrade1.1',
  352. 'sfConfigUpgrade' => 'task/project/upgrade1.1',
  353. 'sfEnvironmentUpgrade' => 'task/project/upgrade1.1',
  354. 'sfFactoriesUpgrade' => 'task/project/upgrade1.1',
  355. 'sfFlashUpgrade' => 'task/project/upgrade1.1',
  356. 'sfLayoutUpgrade' => 'task/project/upgrade1.1',
  357. 'sfLoggerUpgrade' => 'task/project/upgrade1.1',
  358. 'sfPropelUpgrade' => 'task/project/upgrade1.1',
  359. 'sfSettingsUpgrade' => 'task/project/upgrade1.1',
  360. 'sfSingletonUpgrade' => 'task/project/upgrade1.1',
  361. 'sfTestUpgrade' => 'task/project/upgrade1.1',
  362. 'sfUpgrade' => 'task/project/upgrade1.1',
  363. 'sfViewCacheManagerUpgrade' => 'task/project/upgrade1.1',
  364. 'sfWebDebugUpgrade' => 'task/project/upgrade1.1',
  365. 'sfConfigurationUpgrade' => 'task/project/upgrade1.2',
  366. 'sfFactories12Upgrade' => 'task/project/upgrade1.2',
  367. 'sfPluginAssetsUpgrade' => 'task/project/upgrade1.2',
  368. 'sfPropel13Upgrade' => 'task/project/upgrade1.2',
  369. 'sfPropelIniUpgrade' => 'task/project/upgrade1.2',
  370. 'sfBaseTask' => 'task',
  371. 'sfCommandApplicationTask' => 'task',
  372. 'sfFilesystem' => 'task',
  373. 'sfTask' => 'task',
  374. 'sfTestAllTask' => 'task/test',
  375. 'sfTestCoverageTask' => 'task/test',
  376. 'sfTestFunctionalTask' => 'task/test',
  377. 'sfTestUnitTask' => 'task/test',
  378. 'sfTestBrowser' => 'test',
  379. 'sfTestFunctional' => 'test',
  380. 'sfTestFunctionalBase' => 'test',
  381. 'sfTester' => 'test',
  382. 'sfTesterForm' => 'test',
  383. 'sfTesterRequest' => 'test',
  384. 'sfTesterResponse' => 'test',
  385. 'sfTesterUser' => 'test',
  386. 'sfTesterViewCache' => 'test',
  387. 'sfBasicSecurityUser' => 'user',
  388. 'sfSecurityUser' => 'user',
  389. 'sfUser' => 'user',
  390. 'sfBrowser' => 'util',
  391. 'sfBrowserBase' => 'util',
  392. 'sfCallable' => 'util',
  393. 'sfContext' => 'util',
  394. 'sfDomCssSelector' => 'util',
  395. 'sfFinder' => 'util',
  396. 'sfInflector' => 'util',
  397. 'sfNamespacedParameterHolder' => 'util',
  398. 'sfParameterHolder' => 'util',
  399. 'sfToolkit' => 'util',
  400. 'sfValidatorI18nChoiceCountry' => 'validator/i18n',
  401. 'sfValidatorI18nChoiceLanguage' => 'validator/i18n',
  402. 'sfValidatorAnd' => 'validator',
  403. 'sfValidatorBase' => 'validator',
  404. 'sfValidatorBoolean' => 'validator',
  405. 'sfValidatorCSRFToken' => 'validator',
  406. 'sfValidatorCallback' => 'validator',
  407. 'sfValidatorChoice' => 'validator',
  408. 'sfValidatorChoiceMany' => 'validator',
  409. 'sfValidatorDate' => 'validator',
  410. 'sfValidatorDateRange' => 'validator',
  411. 'sfValidatorDateTime' => 'validator',
  412. 'sfValidatorDecorator' => 'validator',
  413. 'sfValidatorEmail' => 'validator',
  414. 'sfValidatorError' => 'validator',
  415. 'sfValidatorErrorSchema' => 'validator',
  416. 'sfValidatorFile' => 'validator',
  417. 'sfValidatorFromDescription' => 'validator',
  418. 'sfValidatorInteger' => 'validator',
  419. 'sfValidatorNumber' => 'validator',
  420. 'sfValidatorOr' => 'validator',
  421. 'sfValidatorPass' => 'validator',
  422. 'sfValidatorRegex' => 'validator',
  423. 'sfValidatorSchema' => 'validator',
  424. 'sfValidatorSchemaCompare' => 'validator',
  425. 'sfValidatorSchemaFilter' => 'validator',
  426. 'sfValidatorSchemaForEach' => 'validator',
  427. 'sfValidatorString' => 'validator',
  428. 'sfValidatorTime' => 'validator',
  429. 'sfValidatorUrl' => 'validator',
  430. 'sfOutputEscaper' => 'view/escaper',
  431. 'sfOutputEscaperArrayDecorator' => 'view/escaper',
  432. 'sfOutputEscaperGetterDecorator' => 'view/escaper',
  433. 'sfOutputEscaperIteratorDecorator' => 'view/escaper',
  434. 'sfOutputEscaperObjectDecorator' => 'view/escaper',
  435. 'sfOutputEscaperSafe' => 'view/escaper',
  436. 'sfPHPView' => 'view',
  437. 'sfPartialView' => 'view',
  438. 'sfView' => 'view',
  439. 'sfViewCacheManager' => 'view',
  440. 'sfViewParameterHolder' => 'view',
  441. 'sfWidgetFormI18nDate' => 'widget/i18n',
  442. 'sfWidgetFormI18nDateTime' => 'widget/i18n',
  443. 'sfWidgetFormI18nSelectCountry' => 'widget/i18n',
  444. 'sfWidgetFormI18nSelectCurrency' => 'widget/i18n',
  445. 'sfWidgetFormI18nSelectLanguage' => 'widget/i18n',
  446. 'sfWidgetFormI18nTime' => 'widget/i18n',
  447. 'sfWidget' => 'widget',
  448. 'sfWidgetForm' => 'widget',
  449. 'sfWidgetFormChoice' => 'widget',
  450. 'sfWidgetFormChoiceMany' => 'widget',
  451. 'sfWidgetFormDate' => 'widget',
  452. 'sfWidgetFormDateRange' => 'widget',
  453. 'sfWidgetFormDateTime' => 'widget',
  454. 'sfWidgetFormFilterDate' => 'widget',
  455. 'sfWidgetFormFilterInput' => 'widget',
  456. 'sfWidgetFormInput' => 'widget',
  457. 'sfWidgetFormInputCheckbox' => 'widget',
  458. 'sfWidgetFormInputFile' => 'widget',
  459. 'sfWidgetFormInputFileEditable' => 'widget',
  460. 'sfWidgetFormInputHidden' => 'widget',
  461. 'sfWidgetFormInputPassword' => 'widget',
  462. 'sfWidgetFormSchema' => 'widget',
  463. 'sfWidgetFormSchemaDecorator' => 'widget',
  464. 'sfWidgetFormSchemaForEach' => 'widget',
  465. 'sfWidgetFormSchemaFormatter' => 'widget',
  466. 'sfWidgetFormSchemaFormatterList' => 'widget',
  467. 'sfWidgetFormSchemaFormatterTable' => 'widget',
  468. 'sfWidgetFormSelect' => 'widget',
  469. 'sfWidgetFormSelectCheckbox' => 'widget',
  470. 'sfWidgetFormSelectMany' => 'widget',
  471. 'sfWidgetFormSelectRadio' => 'widget',
  472. 'sfWidgetFormTextarea' => 'widget',
  473. 'sfWidgetFormTime' => 'widget',
  474. 'sfYaml' => 'yaml',
  475. 'sfYamlDumper' => 'yaml',
  476. 'sfYamlInline' => 'yaml',
  477. 'sfYamlParser' => 'yaml',
  478. );
  479. }