setView() public method

public setView ( string $view )
$view string The filename of view to render, excluding the extension.
 /**
  * @param string $view
  * @return MediaItemModule $this
  */
 public function setView($view)
 {
     $class = val('class', $this->attributes, '');
     $class .= ' media ' . $view;
     $this->attributes['class'] = $class;
     return parent::setView($view);
 }