Bug 538883 - [warning] Variable 'this' is undefined in .phtml file
Summary: [warning] Variable 'this' is undefined in .phtml file
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-10 13:34 EDT by Alain POMIROL CLA
Modified: 2020-05-14 10:16 EDT (History)
0 users

See Also:


Attachments
screenshot (25.78 KB, image/jpeg)
2018-09-10 13:34 EDT, Alain POMIROL CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alain POMIROL CLA 2018-09-10 13:34:34 EDT
Created attachment 275763 [details]
screenshot

In Zendframework 2 and 3, the variables are transmitted to the view by the controller. In the view (.phtml file), we access the variables in a php section by `$this->[variable name]` . The publisher of pdt 6.0 displays a warning