Skip to content

Commit

Permalink
Added the initial symfony codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
David Coallier committed Dec 29, 2010
0 parents commit 8df96cf
Show file tree
Hide file tree
Showing 2,975 changed files with 336,511 additions and 0 deletions.
5 changes: 5 additions & 0 deletions example/apps/frontend/config/app.yml
@@ -0,0 +1,5 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/11-App

# default values
#all:
7 changes: 7 additions & 0 deletions example/apps/frontend/config/cache.yml
@@ -0,0 +1,7 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/09-Cache

default:
enabled: false
with_layout: false
lifetime: 86400
42 changes: 42 additions & 0 deletions example/apps/frontend/config/factories.yml
@@ -0,0 +1,42 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/05-Factories

prod:
logger:
class: sfNoLogger
param:
level: err
loggers: ~

test:
storage:
class: sfSessionTestStorage
param:
session_path: %SF_TEST_CACHE_DIR%/sessions

response:
class: sfWebResponse
param:
send_http_headers: false

mailer:
param:
delivery_strategy: none

dev:
mailer:
param:
delivery_strategy: none

all:
routing:
class: sfPatternRouting
param:
generate_shortest_url: true
extra_parameters_as_query_string: true

view_cache_manager:
class: sfViewCacheManager
param:
cache_key_use_vary_headers: true
cache_key_use_host_name: true
10 changes: 10 additions & 0 deletions example/apps/frontend/config/filters.yml
@@ -0,0 +1,10 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/12-Filters

rendering: ~
security: ~

# insert your own filters here

cache: ~
execution: ~
8 changes: 8 additions & 0 deletions example/apps/frontend/config/frontendConfiguration.class.php
@@ -0,0 +1,8 @@
<?php

class frontendConfiguration extends sfApplicationConfiguration
{
public function configure()
{
}
}
16 changes: 16 additions & 0 deletions example/apps/frontend/config/routing.yml
@@ -0,0 +1,16 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/10-Routing

# default rules
homepage:
url: /
param: { module: default, action: index }

# generic rules
# please, remove them by adding more specific rules
default_index:
url: /:module
param: { action: index }

default:
url: /:module/:action/*
5 changes: 5 additions & 0 deletions example/apps/frontend/config/security.yml
@@ -0,0 +1,5 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/08-Security

default:
is_secure: false
35 changes: 35 additions & 0 deletions example/apps/frontend/config/settings.yml
@@ -0,0 +1,35 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/04-Settings

prod:
.settings:
no_script_name: true
logging_enabled: false

dev:
.settings:
error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?>
web_debug: true
cache: false
no_script_name: false
etag: false

test:
.settings:
error_reporting: <?php echo ((E_ALL | E_STRICT) ^ E_NOTICE)."\n" ?>
cache: false
web_debug: false
no_script_name: false
etag: false

all:
.settings:
# Form security secret (CSRF protection)
csrf_secret: 220b056f0416c93b76fcafe0f11058c37795a846

# Output escaping settings
escaping_strategy: true
escaping_method: ESC_SPECIALCHARS

# Enable the database manager
use_database: true
20 changes: 20 additions & 0 deletions example/apps/frontend/config/view.yml
@@ -0,0 +1,20 @@
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/13-View

default:
http_metas:
content-type: text/html

metas:
#title: symfony project
#description: symfony project
#keywords: symfony, project
#language: en
#robots: index, follow

stylesheets: [main.css]

javascripts: []

has_layout: true
layout: layout
5 changes: 5 additions & 0 deletions example/apps/frontend/lib/myUser.class.php
@@ -0,0 +1,5 @@
<?php

class myUser extends sfBasicSecurityUser
{
}
14 changes: 14 additions & 0 deletions example/apps/frontend/templates/layout.php
@@ -0,0 +1,14 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php include_http_metas() ?>
<?php include_metas() ?>
<?php include_title() ?>
<link rel="shortcut icon" href="/favicon.ico" />
<?php include_stylesheets() ?>
<?php include_javascripts() ?>
</head>
<body>
<?php echo $sf_content ?>
</body>
</html>
Empty file.
66 changes: 66 additions & 0 deletions example/cache/frontend/dev/config/config_autoload.yml.php
@@ -0,0 +1,66 @@
<?php
// auto-generated by sfAutoloadConfigHandler
// date: 2010/12/29 22:31:59
return array(

// sfDoctrinePlugin_module_libs

// sfDoctrinePlugin_lib
'sfdoctrinecli' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/cli/sfDoctrineCli.class.php',
'sfdoctrineconnectionlistener' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/database/sfDoctrineConnectionListener.class.php',
'sfdoctrineconnectionprofiler' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/database/sfDoctrineConnectionProfiler.class.php',
'sfdoctrinedatabase' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/database/sfDoctrineDatabase.class.php',
'sfwebdebugpaneldoctrine' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/debug/sfWebDebugPanelDoctrine.class.php',
'sfformdoctrine' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/form/sfFormDoctrine.class.php',
'sfformfilterdoctrine' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/form/sfFormFilterDoctrine.class.php',
'sfdoctrinecolumn' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineColumn.class.php',
'sfdoctrineformfiltergenerator' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineFormFilterGenerator.class.php',
'sfdoctrineformgenerator' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineFormGenerator.class.php',
'sfdoctrinegenerator' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineGenerator.class.php',
'swift_doctrinespool' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/mailer/Swift_DoctrineSpool.class.php',
'sfdoctrinepager' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/pager/sfDoctrinePager.class.php',
'sfdoctrinerecord' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/record/sfDoctrineRecord.class.php',
'sfdoctrinerecordi18nfilter' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/record/sfDoctrineRecordI18nFilter.class.php',
'sfdoctrineroute' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/routing/sfDoctrineRoute.class.php',
'sfdoctrineroutecollection' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/routing/sfDoctrineRouteCollection.class.php',
'sfdoctrineexception' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/sfDoctrineException.class.php',
'sfdoctrinebasetask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBaseTask.class.php',
'sfdoctrinebuilddbtask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildDbTask.class.php',
'sfdoctrinebuildfilterstask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildFiltersTask.class.php',
'sfdoctrinebuildformstask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildFormsTask.class.php',
'sfdoctrinebuildmodeltask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildModelTask.class.php',
'sfdoctrinebuildschematask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildSchemaTask.class.php',
'sfdoctrinebuildsqltask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildSqlTask.class.php',
'sfdoctrinebuildtask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildTask.class.php',
'sfdoctrinecleanmodelfilestask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineCleanModelFilesTask.class.php',
'sfdoctrineconfiguredatabasetask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineConfigureDatabaseTask.class.php',
'sfdoctrinecreatemodeltables' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineCreateModelTablesTask.class.php',
'sfdoctrinedatadumptask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineDataDumpTask.class.php',
'sfdoctrinedataloadtask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineDataLoadTask.class.php',
'sfdoctrinedeletemodelfilestask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineDeleteModelFilesTask.class.php',
'sfdoctrinedqltask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineDqlTask.class.php',
'sfdoctrinedropdbtask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineDropDbTask.class.php',
'sfdoctrinegenerateadmintask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateAdminTask.class.php',
'sfdoctrinegeneratemigrationsdbtask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateMigrationsDbTask.class.php',
'sfdoctrinegeneratemigrationsdifftask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateMigrationsDiffTask.class.php',
'sfdoctrinegeneratemigrationsmodelstask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateMigrationsModelsTask.class.php',
'sfdoctrinegeneratemigrationtask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateMigrationTask.class.php',
'sfdoctrinegeneratemoduleforroutetask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateModuleForRouteTask.class.php',
'sfdoctrinegeneratemoduletask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineGenerateModuleTask.class.php',
'sfdoctrineinsertsqltask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineInsertSqlTask.class.php',
'sfdoctrinemigratetask' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineMigrateTask.class.php',
'sftesterdoctrine' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/test/sfTesterDoctrine.class.php',
'sfvalidatordoctrinechoice' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/validator/sfValidatorDoctrineChoice.class.php',
'sfvalidatordoctrineunique' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/validator/sfValidatorDoctrineUnique.class.php',
'sfwidgetformdoctrinechoice' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/widget/sfWidgetFormDoctrineChoice.class.php',

// project
'baseform' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/lib/form/BaseForm.class.php',

// project_model

// application
'myuser' => '/Users/daithiogallchobair/dev/s/sample-symfony/example/apps/frontend/lib/myUser.class.php',

// modules
);
24 changes: 24 additions & 0 deletions example/cache/frontend/dev/config/config_config_handlers.yml.php
@@ -0,0 +1,24 @@
<?php
// auto-generated by sfRootConfigHandler
// date: 2010/12/29 22:31:59

$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,
));
11 changes: 11 additions & 0 deletions example/cache/frontend/dev/config/config_databases.yml.php
@@ -0,0 +1,11 @@
<?php
// auto-generated by sfDatabaseConfigHandler
// date: 2010/12/29 22:31:59

return array(
'doctrine' => new sfDoctrineDatabase(array (
'dsn' => 'mysql:host=localhost;dbname=example',
'username' => 'root',
'password' => NULL,
'name' => 'doctrine',
)),);

0 comments on commit 8df96cf

Please sign in to comment.