예제 #1
0
 protected function getViewScriptSuffix()
 {
     $contentSubType = ucfirst($this->response->getContentSubType());
     if ($contentSubType == 'Html') {
         return '';
     }
     return $contentSubType;
 }
예제 #2
0
 public function testGetContentSubType()
 {
     $this->object->setContentType('text/html');
     $contentSubType = $this->object->getContentSubType();
     $this->assertEquals('html', $contentSubType);
 }