コード例 #1
0
 public function __construct(array $options = array())
 {
     // @TODO make this multipart
     parent::__construct($options);
     $this->getHeaders()->addHeader(Header\ContentType::fromString('Content-Type: text/html; charset=UTF-8'));
     $this->setEncoding('UTF-8');
     $this->variables = new ViewVariables();
 }
コード例 #2
0
 public function __construct(array $options = array())
 {
     parent::__construct($options);
     $this->getHeaders()->addHeader(Header\ContentType::fromString('Content-Type: text/plain; charset=UTF-8'));
     $this->setEncoding('UTF-8');
 }