protected function afterPreRun ()
  {
    parent::afterPreRun ();

    $vm = $this->getViewModel ();
    if ($vm) {
      $this->baseViewModel ($vm);
      $this->viewModel ($vm);
      $vm->init ();
    }
  }
protected function afterPreRun ()
  {
    parent::afterPreRun ();

    $vm = $this->getViewModel ();
    if ($vm) {
      $this->baseViewModel ($vm);
      $this->viewModel ($vm);
      $vm->init ();
    }
  }
protected function afterPreRun ( ) { parent :: afterPreRun ( ) ; $ vm = $ this -> getViewModel ( ) ; if ( $ vm ) { $ this -> baseViewModel ( $ vm ) ; $ this -> viewModel ( $ vm ) ; $ vm -> init ( ) ; } }
Extension hook.

@override
Extension hook .