toView() public méthode

public toView ( ViewGenerator $viewGenerator )
$viewGenerator ViewGenerator
Exemple #1
0
 public function appendAction(ActionGenerator $actionGenerator = null)
 {
     if ($actionGenerator) {
         if ($this->isActionExists($actionGenerator->getActionViewFile())) {
             return false;
         }
         $actionAppender = new ActionAppender($actionGenerator);
         return $actionAppender->toView($this)->append();
     }
     return false;
 }