Beispiel #1
0
Datei: Html.php Projekt: 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 = '';
     }
 }
Beispiel #2
0
Datei: Xml.php Projekt: eix/core
 public function __construct(HttpRequest $request = null)
 {
     $this->setContentType(self::CONTENT_TYPE);
     parent::__construct($request);
 }