source: cpc/trunk/project/cache/frontend/prod/config/modules_default_config_view.yml.php @ 2

Last change on this file since 2 was 2, checked in by teymour, 12 years ago

Permier commit

File size: 849 bytes
Line 
1<?php
2// auto-generated by sfViewConfigHandler
3// date: 2009/07/01 13:11:09
4$response = $this->context->getResponse();
5
6
7  $templateName = sfConfig::get('symfony.view.'.$this->moduleName.'_'.$this->actionName.'_template', $this->actionName);
8  $this->setTemplate($templateName.$this->viewName.$this->getExtension());
9
10
11
12  if (!is_null($layout = sfConfig::get('symfony.view.'.$this->moduleName.'_'.$this->actionName.'_layout')))
13  {
14    $this->setDecoratorTemplate(false === $layout ? false : $layout.$this->getExtension());
15  }
16  else if (is_null($this->getDecoratorTemplate()) && !$this->context->getRequest()->isXmlHttpRequest())
17  {
18    $this->setDecoratorTemplate('' == 'layout' ? false : 'layout'.$this->getExtension());
19  }
20  $response->addHttpMeta('content-type', 'text/html', false);
21
22  $response->addStylesheet('main.css', '', array ());
23
24
Note: See TracBrowser for help on using the repository browser.