예제 #1
0
파일: Html.php 프로젝트: eix/core
 public function __construct(HttpRequest $request = null)
 {
     $this->setContentType(self::CONTENT_TYPE);
     parent::__construct($request);
     // Set the initial title.
     try {
         $this->titleParts = array(Application::getCurrent()->getName());
     } catch (Exception $exception) {
         $this->titleParts = '';
     }
 }
예제 #2
0
파일: Xml.php 프로젝트: eix/core
 public function __construct(HttpRequest $request = null)
 {
     $this->setContentType(self::CONTENT_TYPE);
     parent::__construct($request);
 }