[TYPO3-mvc] How do I execute an external program from extbase?

mario chiari m at mariochiari.net
Tue Jul 19 19:16:11 CEST 2011


Hi

$this->view->render() does what I was looking for.
Easy and nice!
It starts to do what  I need.
Thanks 
mario

On Tue, 2011-07-19 at 15:43 +0200, mario chiari wrote:
> Henjo, All
....
> 
> Now, what I would like to be able to do next is something like the
> following:
> 
> domain Autore
> AutoreController.php includes a new action:
> public function listtexAction() {             
>                 include_once('mario.php');   // my library
>                 $new = new Mario;
> 		$autores = $this->autoreRepository->findAll(); 
> $renderedTemplate =?  $this->view->assign('autores', $autores); // (*)
>                 echo $new->texIt($renderedTemplate);  

$new->texIt($this->view->render()) works!!! 

> // textIt create a .tex file and pass to pdflatex. 
>  	}






More information about the TYPO3-project-typo3v4mvc mailing list