public function setView($view)
    {
        parent::setView($view);

        if (!$this->_view instanceof ComBaseViewAbstract) {
            $name = AnInflector::isPlural($this->view) ? 'actors' : 'actor';
            $defaults[] = 'ComActorsView'.ucfirst($view).ucfirst($this->_view->name);
            $defaults[] = 'ComActorsView'.ucfirst($name).ucfirst($this->_view->name);
            register_default(array(
                'identifier' => $this->_view,
                'default' => $defaults,
                ));
        }

        return $this;
    }
public function setView($view)
    {
        parent::setView($view);

        if (!$this->_view instanceof ComBaseViewAbstract) {
            $name = AnInflector::isPlural($this->view) ? 'actors' : 'actor';
            $defaults[] = 'ComActorsView'.ucfirst($view).ucfirst($this->_view->name);
            $defaults[] = 'ComActorsView'.ucfirst($name).ucfirst($this->_view->name);
            register_default(array(
                'identifier' => $this->_view,
                'default' => $defaults,
                ));
        }

        return $this;
    }
public function setView ( $ view ) { parent :: setView ( $ view ) ; if ( ! $ this -> _view instanceof ComBaseViewAbstract ) { $ name = AnInflector :: isPlural ( $ this -> view ) ? 'actors' : 'actor' ; $ defaults [ ] = 'ComActorsView' . ucfirst ( $ view ) . ucfirst ( $ this -> _view -> name ) ; $ defaults [ ] = 'ComActorsView' . ucfirst ( $ name ) . ucfirst ( $ this -> _view -> name ) ; register_default ( array ( 'identifier' => $ this -> _view , 'default' => $ defaults , ) ) ; } return $ this ; }
Set the default Actor View.

@param AnCommandContext $context Context parameter

@return ComActorsControllerDefault
Set the default Actor View .