/**
  * Get information about view for action
  *
  * @return array
  * @since 0.1
  */
 private function getViewInfo(AgaviExecutionContainer $container)
 {
     $result = array();
     $outputType = $this->getContext()->getController()->getOutputType($container->getOutputType()->getName());
     $result['view_name'] = $container->getViewName();
     $result['output_type'] = $container->getOutputType()->getName();
     $result['default_output_type'] = $this->getContext()->getController()->getOutputType()->getName();
     $result['has_renders'] = $outputType->hasRenderers();
     $result['default_layout_name'] = $outputType->getDefaultLayoutName();
     return $result;
 }