Generating PDF files with PHP: Template engine (4/7)

preview_player
Показать описание

Official site

Twitter
Рекомендации по теме
Комментарии
Автор

Hi, Alex.
i am using Slim version 2 with Slim\Views\Twig and Slim\Views\TwigExtension.
i already have $app->view which i am using to render the views.

my question is how i can have this $app->view in my Capture class so that i can implement pdf generation.
Please help.
Thanks

AvinashKumar-psft
Автор

Hi! when I try to run my index says there's been an error.. the difference I noticed was when I run the terminal for the twig part. It said perfectly that twig was installed correctly but the twig directory wasn't created...I don't know if that may be affecting my index ?? because it's not being showed .. PLEASE help I'm new to this D:

limonpamela
Автор

Excuse me, I need some help.
When I run index.php, it showed a fatal error: Call to a member function render() on null
What is that mean? How can I fix it?

洪貫瑜