start to create first loop

This commit is contained in:
Manuel Raynaud
2013-05-03 17:06:43 +02:00
parent 7d766c68ff
commit 046f0e0f94
10 changed files with 176 additions and 24 deletions

View File

@@ -59,6 +59,9 @@ class DatabaseConfiguration implements ConfigurationInterface
->scalarNode("dsn")
->cannotBeEmpty()
->end()
->scalarNode("classname")
->defaultValue("PropelPDO")
->end()
->end()
->end()
->end()

View File

@@ -50,7 +50,8 @@ class DefinePropel {
array(
"dsn" => $connection["dsn"],
"user" => $connection["user"],
"password" => $connection["password"]
"password" => $connection["password"],
"classname" => $connection["classname"]
)
)
)

View File

@@ -11,6 +11,7 @@
<loops>
<loop name="foo" class="Foo\Bar"/>
<loop name="fooz" class="Foo\Barz"/>
<loop class="Thelia\Core\Template\Loop\Category" name="category"/>
</loops>
<services>