Permalink
Browse files

add symfony/1.4.8 hello world module

  • Loading branch information...
1 parent 780df9c commit 3ea7514b6e9faa29670b232d2094833d1db472be @pmjones committed Jan 22, 2011
Showing with 4,840 additions and 1 deletion.
  1. +1 −1 htdocs/symfony/1.4.8/apps/hello/config/view.yml
  2. +21 −0 htdocs/symfony/1.4.8/apps/hello/modules/hello/actions/actions.class.php
  3. +1 −0 htdocs/symfony/1.4.8/apps/hello/modules/hello/templates/indexSuccess.php
  4. 0 htdocs/symfony/1.4.8/cache/hello/dev/config/config_app.yml.php
  5. +15 −0 htdocs/symfony/1.4.8/cache/hello/dev/config/config_autoload.yml.php
  6. +24 −0 htdocs/symfony/1.4.8/cache/hello/dev/config/config_config_handlers.yml.php
  7. +5 −0 htdocs/symfony/1.4.8/cache/hello/dev/config/config_databases.yml.php
  8. +161 −0 htdocs/symfony/1.4.8/cache/hello/dev/config/config_factories.yml.php
  9. +6 −0 htdocs/symfony/1.4.8/cache/hello/dev/config/config_routing.yml.php
  10. +38 −0 htdocs/symfony/1.4.8/cache/hello/dev/config/config_settings.yml.php
  11. +25 −0 htdocs/symfony/1.4.8/cache/hello/dev/config/modules_default_config_filters.yml.php
  12. +7 −0 htdocs/symfony/1.4.8/cache/hello/dev/config/modules_default_config_module.yml.php
  13. +9 −0 htdocs/symfony/1.4.8/cache/hello/dev/config/modules_default_config_security.yml.php
  14. +24 −0 htdocs/symfony/1.4.8/cache/hello/dev/config/modules_default_config_view.yml.php
  15. 0 htdocs/symfony/1.4.8/cache/hello/prod/config/config_app.yml.php
  16. +15 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/config_autoload.yml.php
  17. +24 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/config_config_handlers.yml.php
  18. +3,957 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/config_core_compile.yml.php
  19. +5 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/config_databases.yml.php
  20. +149 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/config_factories.yml.php
  21. +6 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/config_routing.yml.php
  22. +38 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/config_settings.yml.php
  23. +25 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/modules_default_config_filters.yml.php
  24. +7 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/modules_default_config_module.yml.php
  25. +9 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/modules_default_config_security.yml.php
  26. +24 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/modules_default_config_view.yml.php
  27. +25 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/modules_hello_config_filters.yml.php
  28. +7 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/modules_hello_config_module.yml.php
  29. +9 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/modules_hello_config_security.yml.php
  30. +24 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/modules_hello_config_view.yml.php
  31. +25 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/modules_world_config_filters.yml.php
  32. +7 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/modules_world_config_module.yml.php
  33. +9 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/modules_world_config_security.yml.php
  34. +24 −0 htdocs/symfony/1.4.8/cache/hello/prod/config/modules_world_config_view.yml.php
  35. 0 htdocs/symfony/1.4.8/cache/hello/test/config/config_app.yml.php
  36. +24 −0 htdocs/symfony/1.4.8/cache/hello/test/config/config_config_handlers.yml.php
  37. +38 −0 htdocs/symfony/1.4.8/cache/hello/test/config/config_settings.yml.php
  38. +14 −0 htdocs/symfony/1.4.8/log/hello_dev.log
  39. +19 −0 htdocs/symfony/1.4.8/test/functional/hello/helloActionsTest.php
  40. +19 −0 htdocs/symfony/1.4.8/test/functional/hello/worldActionsTest.php
@@ -16,5 +16,5 @@ default:
javascripts: []
- has_layout: true
+ has_layout: false
layout: layout
@@ -0,0 +1,21 @@
+<?php
+
+/**
+ * hello actions.
+ *
+ * @package hello
+ * @subpackage hello
+ * @author Paul M. Jones
+ * @version SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
+ */
+class helloActions extends sfActions
+{
+ /**
+ * Executes index action
+ *
+ * @param sfRequest $request A request object
+ */
+ public function executeIndex(sfWebRequest $request)
+ {
+ }
+}
@@ -0,0 +1,15 @@
+<?php
+// auto-generated by sfAutoloadConfigHandler
+// date: 2011/01/22 13:58:17
+return array(
+
+ // project
+ 'baseform' => '/Users/pmjones/Sites/localhost/php-framework-benchmarks/htdocs/symfony/1.4.8/lib/form/BaseForm.class.php',
+
+ // project_model
+
+ // application
+ 'myuser' => '/Users/pmjones/Sites/localhost/php-framework-benchmarks/htdocs/symfony/1.4.8/apps/hello/lib/myUser.class.php',
+
+ // modules
+);
@@ -0,0 +1,24 @@
+<?php
+// auto-generated by sfRootConfigHandler
+// date: 2011/01/22 13:58:17
+
+$this->handlers['config/autoload.yml'] = new sfAutoloadConfigHandler();
+$this->handlers['config/databases.yml'] = new sfDatabaseConfigHandler();
+$this->handlers['config/settings.yml'] = new sfDefineEnvironmentConfigHandler(array (
+ 'prefix' => 'sf_',
+));
+$this->handlers['config/app.yml'] = new sfDefineEnvironmentConfigHandler(array (
+ 'prefix' => 'app_',
+));
+$this->handlers['config/factories.yml'] = new sfFactoryConfigHandler();
+$this->handlers['config/core_compile.yml'] = new sfCompileConfigHandler();
+$this->handlers['config/filters.yml'] = new sfFilterConfigHandler();
+$this->handlers['config/routing.yml'] = new sfRoutingConfigHandler();
+$this->handlers['modules/*/config/generator.yml'] = new sfGeneratorConfigHandler();
+$this->handlers['modules/*/config/view.yml'] = new sfViewConfigHandler();
+$this->handlers['modules/*/config/security.yml'] = new sfSecurityConfigHandler();
+$this->handlers['modules/*/config/cache.yml'] = new sfCacheConfigHandler();
+$this->handlers['modules/*/config/module.yml'] = new sfDefineEnvironmentConfigHandler(array (
+ 'prefix' => 'mod_',
+ 'module' => true,
+));
@@ -0,0 +1,5 @@
+<?php
+// auto-generated by sfDatabaseConfigHandler
+// date: 2011/01/22 13:58:17
+
+return array();
@@ -0,0 +1,161 @@
+<?php
+// auto-generated by sfFactoryConfigHandler
+// date: 2011/01/22 13:58:17
+
+ $class = sfConfig::get('sf_factory_logger', 'sfAggregateLogger');
+ $this->factories['logger'] = new $class($this->dispatcher, array_merge(array('auto_shutdown' => false), sfConfig::get('sf_factory_logger_parameters', array (
+ 'level' => 'debug',
+))));
+
+$logger = new sfWebDebugLogger($this->dispatcher, array_merge(array('auto_shutdown' => false), array (
+ 'level' => 'debug',
+ 'xdebug_logging' => false,
+ 'web_debug_class' => 'sfWebDebug',
+)));
+$this->factories['logger']->addLogger($logger);
+
+$logger = new sfFileLogger($this->dispatcher, array_merge(array('auto_shutdown' => false), array (
+ 'level' => 'debug',
+ 'file' => '/Users/pmjones/Sites/localhost/php-framework-benchmarks/htdocs/symfony/1.4.8/log/hello_dev.log',
+)));
+$this->factories['logger']->addLogger($logger);
+
+
+ if (sfConfig::get('sf_i18n'))
+ {
+ $class = sfConfig::get('sf_factory_i18n', 'sfI18N');
+ $cache = new sfFileCache(array (
+ 'automatic_cleaning_factor' => 0,
+ 'cache_dir' => '/Users/pmjones/Sites/localhost/php-framework-benchmarks/htdocs/symfony/1.4.8/cache/hello/dev/i18n',
+ 'lifetime' => 31556926,
+ 'prefix' => '/Users/pmjones/Sites/localhost/php-framework-benchmarks/htdocs/symfony/1.4.8/apps/hello/i18n',
+));
+ $this->factories['i18n'] = new $class($this->configuration, $cache, array (
+ 'source' => 'XLIFF',
+ 'debug' => false,
+ 'untranslated_prefix' => '[T]',
+ 'untranslated_suffix' => '[/T]',
+));
+ sfWidgetFormSchemaFormatter::setTranslationCallable(array($this->factories['i18n'], '__'));
+ }
+
+ $class = sfConfig::get('sf_factory_controller', 'sfFrontWebController');
+ $this->factories['controller'] = new $class($this);
+ $class = sfConfig::get('sf_factory_request', 'sfWebRequest');
+ $this->factories['request'] = new $class($this->dispatcher, array(), array(), sfConfig::get('sf_factory_request_parameters', array (
+ 'logging' => '1',
+ 'path_info_array' => 'SERVER',
+ 'path_info_key' => 'PATH_INFO',
+ 'relative_url_root' => NULL,
+ 'formats' =>
+ array (
+ 'txt' => 'text/plain',
+ 'js' =>
+ array (
+ 0 => 'application/javascript',
+ 1 => 'application/x-javascript',
+ 2 => 'text/javascript',
+ ),
+ 'css' => 'text/css',
+ 'json' =>
+ array (
+ 0 => 'application/json',
+ 1 => 'application/x-json',
+ ),
+ 'xml' =>
+ array (
+ 0 => 'text/xml',
+ 1 => 'application/xml',
+ 2 => 'application/x-xml',
+ ),
+ 'rdf' => 'application/rdf+xml',
+ 'atom' => 'application/atom+xml',
+ ),
+ 'no_script_name' => false,
+)), sfConfig::get('sf_factory_request_attributes', array()));
+ $class = sfConfig::get('sf_factory_response', 'sfWebResponse');
+ $this->factories['response'] = new $class($this->dispatcher, sfConfig::get('sf_factory_response_parameters', array_merge(array('http_protocol' => isset($_SERVER['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : null), array (
+ 'logging' => '1',
+ 'charset' => 'utf-8',
+ 'send_http_headers' => true,
+))));
+ if ($this->factories['request'] instanceof sfWebRequest
+ && $this->factories['response'] instanceof sfWebResponse
+ && 'HEAD' == $this->factories['request']->getMethod())
+ {
+ $this->factories['response']->setHeaderOnly(true);
+ }
+
+ $class = sfConfig::get('sf_factory_routing', 'sfPatternRouting');
+ $cache = null;
+
+$this->factories['routing'] = new $class($this->dispatcher, $cache, array_merge(array('auto_shutdown' => false, 'context' => $this->factories['request']->getRequestContext()), sfConfig::get('sf_factory_routing_parameters', array (
+ 'load_configuration' => true,
+ 'suffix' => '',
+ 'default_module' => 'default',
+ 'default_action' => 'index',
+ 'debug' => '1',
+ 'logging' => '1',
+ 'generate_shortest_url' => true,
+ 'extra_parameters_as_query_string' => true,
+ 'cache' => NULL,
+))));
+if ($parameters = $this->factories['routing']->parse($this->factories['request']->getPathInfo()))
+{
+ $this->factories['request']->addRequestParameters($parameters);
+}
+
+ $class = sfConfig::get('sf_factory_storage', 'sfSessionStorage');
+ $this->factories['storage'] = new $class(array_merge(array(
+'auto_shutdown' => false, 'session_id' => $this->getRequest()->getParameter('symfony'),
+), sfConfig::get('sf_factory_storage_parameters', array (
+ 'session_name' => 'symfony',
+))));
+ $class = sfConfig::get('sf_factory_user', 'myUser');
+ $this->factories['user'] = new $class($this->dispatcher, $this->factories['storage'], array_merge(array('auto_shutdown' => false, 'culture' => $this->factories['request']->getParameter('sf_culture')), sfConfig::get('sf_factory_user_parameters', array (
+ 'timeout' => 1800,
+ 'logging' => '1',
+ 'use_flash' => true,
+ 'default_culture' => 'en',
+))));
+
+ if (sfConfig::get('sf_cache'))
+ {
+ $class = sfConfig::get('sf_factory_view_cache', 'sfFileCache');
+ $cache = new $class(sfConfig::get('sf_factory_view_cache_parameters', array (
+ 'automatic_cleaning_factor' => 0,
+ 'cache_dir' => '/Users/pmjones/Sites/localhost/php-framework-benchmarks/htdocs/symfony/1.4.8/cache/hello/dev/template',
+ 'lifetime' => 86400,
+ 'prefix' => '/Users/pmjones/Sites/localhost/php-framework-benchmarks/htdocs/symfony/1.4.8/apps/hello/template',
+)));
+ $this->factories['viewCacheManager'] = new sfViewCacheManager($this, $cache, array (
+ 'cache_key_use_vary_headers' => true,
+ 'cache_key_use_host_name' => true,
+));
+ }
+ else
+ {
+ $this->factories['viewCacheManager'] = null;
+ }
+
+require_once sfConfig::get('sf_symfony_lib_dir').'/vendor/swiftmailer/classes/Swift.php';
+Swift::registerAutoload();
+sfMailer::initialize();
+$this->setMailerConfiguration(array_merge(array('class' => sfConfig::get('sf_factory_mailer', 'sfMailer')), sfConfig::get('sf_factory_mailer_parameters', array (
+ 'logging' => '1',
+ 'charset' => 'utf-8',
+ 'delivery_strategy' => 'none',
+ 'transport' =>
+ array (
+ 'class' => 'Swift_SmtpTransport',
+ 'param' =>
+ array (
+ 'host' => 'localhost',
+ 'port' => 25,
+ 'encryption' => NULL,
+ 'username' => NULL,
+ 'password' => NULL,
+ ),
+ ),
+))));
+
@@ -0,0 +1,6 @@
+<?php
+// auto-generated by sfRoutingConfigHandler
+// date: 2011/01/22 13:58:17
+$this->routes['homepage'] = unserialize('C:7:"sfRoute":1060:{a:10:{i:0;a:2:{i:0;a:4:{i:0;s:9:"separator";i:1;s:0:"";i:2;s:1:"/";i:3;N;}i:1;a:3:{i:0;s:9:"separator";i:1;s:1:"/";i:2;s:1:"/";}}i:1;a:8:{s:18:"load_configuration";b:1;s:6:"suffix";s:0:"";s:14:"default_module";s:7:"default";s:14:"default_action";s:5:"index";s:5:"debug";s:1:"1";s:7:"logging";s:1:"1";s:21:"generate_shortest_url";b:1;s:32:"extra_parameters_as_query_string";b:1;}i:2;a:15:{s:6:"suffix";s:0:"";s:17:"variable_prefixes";a:1:{i:0;s:1:":";}s:18:"segment_separators";a:2:{i:0;s:1:"/";i:1;s:1:".";}s:14:"variable_regex";s:8:"[\\w\\d_]+";s:10:"text_regex";s:3:".+?";s:21:"generate_shortest_url";b:1;s:32:"extra_parameters_as_query_string";b:1;s:18:"load_configuration";b:1;s:14:"default_module";s:7:"default";s:14:"default_action";s:5:"index";s:5:"debug";s:1:"1";s:7:"logging";s:1:"1";s:21:"variable_prefix_regex";s:6:"(?:\\:)";s:24:"segment_separators_regex";s:8:"(?:/|\\.)";s:22:"variable_content_regex";s:7:"[^/\\.]+";}i:3;s:1:"/";i:4;s:0:"";i:5;s:6:"#^/$#x";i:6;a:0:{}i:7;a:2:{s:6:"module";s:7:"default";s:6:"action";s:5:"index";}i:8;a:0:{}i:9;s:1:"/";}}');
+$this->routes['default_index'] = unserialize('C:7:"sfRoute":1135:{a:10:{i:0;a:2:{i:0;a:4:{i:0;s:9:"separator";i:1;s:0:"";i:2;s:1:"/";i:3;N;}i:1;a:4:{i:0;s:8:"variable";i:1;s:1:"/";i:2;s:7:":module";i:3;s:6:"module";}}i:1;a:8:{s:18:"load_configuration";b:1;s:6:"suffix";s:0:"";s:14:"default_module";s:7:"default";s:14:"default_action";s:5:"index";s:5:"debug";s:1:"1";s:7:"logging";s:1:"1";s:21:"generate_shortest_url";b:1;s:32:"extra_parameters_as_query_string";b:1;}i:2;a:15:{s:6:"suffix";s:0:"";s:17:"variable_prefixes";a:1:{i:0;s:1:":";}s:18:"segment_separators";a:2:{i:0;s:1:"/";i:1;s:1:".";}s:14:"variable_regex";s:8:"[\\w\\d_]+";s:10:"text_regex";s:3:".+?";s:21:"generate_shortest_url";b:1;s:32:"extra_parameters_as_query_string";b:1;s:18:"load_configuration";b:1;s:14:"default_module";s:7:"default";s:14:"default_action";s:5:"index";s:5:"debug";s:1:"1";s:7:"logging";s:1:"1";s:21:"variable_prefix_regex";s:6:"(?:\\:)";s:24:"segment_separators_regex";s:8:"(?:/|\\.)";s:22:"variable_content_regex";s:7:"[^/\\.]+";}i:3;s:8:"/:module";i:4;s:0:"";i:5;s:25:"#^/(?P<module>[^/\\.]+)$#x";i:6;a:1:{s:6:"module";s:7:":module";}i:7;a:1:{s:6:"action";s:5:"index";}i:8;a:1:{s:6:"module";s:7:"[^/\\.]+";}i:9;s:0:"";}}');
+$this->routes['default'] = unserialize('C:7:"sfRoute":1468:{a:10:{i:0;a:6:{i:0;a:4:{i:0;s:9:"separator";i:1;s:0:"";i:2;s:1:"/";i:3;N;}i:1;a:4:{i:0;s:8:"variable";i:1;s:1:"/";i:2;s:7:":module";i:3;s:6:"module";}i:2;a:4:{i:0;s:9:"separator";i:1;s:0:"";i:2;s:1:"/";i:3;N;}i:3;a:4:{i:0;s:8:"variable";i:1;s:1:"/";i:2;s:7:":action";i:3;s:6:"action";}i:4;a:4:{i:0;s:9:"separator";i:1;s:0:"";i:2;s:1:"/";i:3;N;}i:5;a:4:{i:0;s:4:"text";i:1;s:1:"/";i:2;s:1:"*";i:3;N;}}i:1;a:8:{s:18:"load_configuration";b:1;s:6:"suffix";s:0:"";s:14:"default_module";s:7:"default";s:14:"default_action";s:5:"index";s:5:"debug";s:1:"1";s:7:"logging";s:1:"1";s:21:"generate_shortest_url";b:1;s:32:"extra_parameters_as_query_string";b:1;}i:2;a:15:{s:6:"suffix";s:0:"";s:17:"variable_prefixes";a:1:{i:0;s:1:":";}s:18:"segment_separators";a:2:{i:0;s:1:"/";i:1;s:1:".";}s:14:"variable_regex";s:8:"[\\w\\d_]+";s:10:"text_regex";s:3:".+?";s:21:"generate_shortest_url";b:1;s:32:"extra_parameters_as_query_string";b:1;s:18:"load_configuration";b:1;s:14:"default_module";s:7:"default";s:14:"default_action";s:5:"index";s:5:"debug";s:1:"1";s:7:"logging";s:1:"1";s:21:"variable_prefix_regex";s:6:"(?:\\:)";s:24:"segment_separators_regex";s:8:"(?:/|\\.)";s:22:"variable_content_regex";s:7:"[^/\\.]+";}i:3;s:18:"/:module/:action/*";i:4;s:0:"";i:5;s:69:"#^/(?P<module>[^/\\.]+)/(?P<action>[^/\\.]+)(?:(?:/(?P<_star>.*))?)?$#x";i:6;a:2:{s:6:"module";s:7:":module";s:6:"action";s:7:":action";}i:7;a:0:{}i:8;a:2:{s:6:"module";s:7:"[^/\\.]+";s:6:"action";s:7:"[^/\\.]+";}i:9;s:0:"";}}');
@@ -0,0 +1,38 @@
+<?php
+// auto-generated by sfDefineEnvironmentConfigHandler
+// date: 2011/01/22 13:58:17
+sfConfig::add(array(
+ 'sf_error_404_module' => 'default',
+ 'sf_error_404_action' => 'error404',
+ 'sf_login_module' => 'default',
+ 'sf_login_action' => 'login',
+ 'sf_secure_module' => 'default',
+ 'sf_secure_action' => 'secure',
+ 'sf_module_disabled_module' => 'default',
+ 'sf_module_disabled_action' => 'disabled',
+ 'sf_use_database' => true,
+ 'sf_i18n' => false,
+ 'sf_compressed' => false,
+ 'sf_check_lock' => false,
+ 'sf_csrf_secret' => '9b3e4d0eef22abf1b52861697ccbc5ea6da96d80',
+ 'sf_escaping_strategy' => true,
+ 'sf_escaping_method' => 'ESC_SPECIALCHARS',
+ 'sf_no_script_name' => false,
+ 'sf_cache' => false,
+ 'sf_etag' => false,
+ 'sf_web_debug' => true,
+ 'sf_error_reporting' => 32767,
+ 'sf_file_link_format' => NULL,
+ 'sf_admin_web_dir' => '/sf/sf_admin',
+ 'sf_web_debug_web_dir' => '/sf/sf_web_debug',
+ 'sf_standard_helpers' => array (
+ 0 => 'Partial',
+ 1 => 'Cache',
+),
+ 'sf_enabled_modules' => array (
+ 0 => 'default',
+),
+ 'sf_charset' => 'utf-8',
+ 'sf_logging_enabled' => true,
+ 'sf_default_culture' => 'en',
+));
@@ -0,0 +1,25 @@
+<?php
+// auto-generated by sfFilterConfigHandler
+// date: 2011/01/22 13:58:17
+
+
+list($class, $parameters) = (array) sfConfig::get('sf_rendering_filter', array('sfRenderingFilter', array (
+)));
+$filter = new $class(sfContext::getInstance(), $parameters);
+$this->register($filter);
+
+// does this action require security?
+if ($actionInstance->isSecure())
+{
+
+list($class, $parameters) = (array) sfConfig::get('sf_security_filter', array('sfBasicSecurityFilter', array (
+)));
+$filter = new $class(sfContext::getInstance(), $parameters);
+$this->register($filter);
+}
+
+list($class, $parameters) = (array) sfConfig::get('sf_execution_filter', array('sfExecutionFilter', array (
+)));
+$filter = new $class(sfContext::getInstance(), $parameters);
+$this->register($filter);
+
@@ -0,0 +1,7 @@
+<?php
+// auto-generated by sfDefineEnvironmentConfigHandler
+// date: 2011/01/22 13:58:17
+sfConfig::add(array(
+ 'mod_default_enabled' => true,
+ 'mod_default_view_class' => 'sfPHP',
+));
@@ -0,0 +1,9 @@
+<?php
+// auto-generated by sfSecurityConfigHandler
+// date: 2011/01/22 13:58:17
+$this->security = array (
+ 'all' =>
+ array (
+ 'is_secure' => false,
+ ),
+);
@@ -0,0 +1,24 @@
+<?php
+// auto-generated by sfViewConfigHandler
+// date: 2011/01/22 13:58:17
+$response = $this->context->getResponse();
+
+
+ $templateName = sfConfig::get('symfony.view.'.$this->moduleName.'_'.$this->actionName.'_template', $this->actionName);
+ $this->setTemplate($templateName.$this->viewName.$this->getExtension());
+
+
+
+ if (null !== $layout = sfConfig::get('symfony.view.'.$this->moduleName.'_'.$this->actionName.'_layout'))
+ {
+ $this->setDecoratorTemplate(false === $layout ? false : $layout.$this->getExtension());
+ }
+ else if (null === $this->getDecoratorTemplate() && !$this->context->getRequest()->isXmlHttpRequest())
+ {
+ $this->setDecoratorTemplate('' == 'layout' ? false : 'layout'.$this->getExtension());
+ }
+ $response->addHttpMeta('content-type', 'text/html', false);
+
+ $response->addStylesheet('main.css', '', array ());
+
+
@@ -0,0 +1,15 @@
+<?php
+// auto-generated by sfAutoloadConfigHandler
+// date: 2011/01/22 13:58:18
+return array(
+
+ // project
+ 'baseform' => '/Users/pmjones/Sites/localhost/php-framework-benchmarks/htdocs/symfony/1.4.8/lib/form/BaseForm.class.php',
+
+ // project_model
+
+ // application
+ 'myuser' => '/Users/pmjones/Sites/localhost/php-framework-benchmarks/htdocs/symfony/1.4.8/apps/hello/lib/myUser.class.php',
+
+ // modules
+);
@@ -0,0 +1,24 @@
+<?php
+// auto-generated by sfRootConfigHandler
+// date: 2011/01/22 13:58:17
+
+$this->handlers['config/autoload.yml'] = new sfAutoloadConfigHandler();
+$this->handlers['config/databases.yml'] = new sfDatabaseConfigHandler();
+$this->handlers['config/settings.yml'] = new sfDefineEnvironmentConfigHandler(array (
+ 'prefix' => 'sf_',
+));
+$this->handlers['config/app.yml'] = new sfDefineEnvironmentConfigHandler(array (
+ 'prefix' => 'app_',
+));
+$this->handlers['config/factories.yml'] = new sfFactoryConfigHandler();
+$this->handlers['config/core_compile.yml'] = new sfCompileConfigHandler();
+$this->handlers['config/filters.yml'] = new sfFilterConfigHandler();
+$this->handlers['config/routing.yml'] = new sfRoutingConfigHandler();
+$this->handlers['modules/*/config/generator.yml'] = new sfGeneratorConfigHandler();
+$this->handlers['modules/*/config/view.yml'] = new sfViewConfigHandler();
+$this->handlers['modules/*/config/security.yml'] = new sfSecurityConfigHandler();
+$this->handlers['modules/*/config/cache.yml'] = new sfCacheConfigHandler();
+$this->handlers['modules/*/config/module.yml'] = new sfDefineEnvironmentConfigHandler(array (
+ 'prefix' => 'mod_',
+ 'module' => true,
+));
Oops, something went wrong.

0 comments on commit 3ea7514

Please sign in to comment.