$this->getResponse()->setTitle($shopInfo->getName());
Retrieving in template:
$sf_response->getTitle();
$this->getResponse()->setTitle($shopInfo->getName());
$sf_response->getTitle();
$result = Doctrine::getTable('Shop')->findBySlug($name); public function findBySlug($name) { return Doctrine::getTable('Shop') ->createQuery('s') ->where('s.slug = ?', $name) ->fetchOne(); }
all: user: class: myUser param: timeout: 18000 logging: %SF_LOGGING_ENABLED% use_flash: true default_culture: %SF_DEFAULT_CULTURE% storage: class: sfSessionStorage param: session_name: application_name
In a template, you can call $sf_data->getRaw('myActionProperty');
after init it like $this->myActionProperty = array('hey'=>'hoy'); inside an
action.
So you'll get your raw object : unescaped.
php symfony doctrine:build --all-classes --sql
php symfony doctrine:migrate
php symfony plugin:publish-assets
php symfony cc