1 | ControllerHelper::renderHomepage($ this ); |
1 | public static function renderHomepage($controller){ |
2 | ... |
3 | } |
Delete DLTK index.
1. Close Eclipse.
2. Delete the org.eclipse.dltk.core.index.sql.h2 folder in .metadata/.plugins of your workspace. This will delete the dynamic language toolkit databases (those are used in ctrl+click or F3 search).
3. Open Eclipse again. The DLTK databases will be recreated.
2. Delete the org.eclipse.dltk.core.index.sql.h2 folder in .metadata/.plugins of your workspace. This will delete the dynamic language toolkit databases (those are used in ctrl+click or F3 search).
3. Open Eclipse again. The DLTK databases will be recreated.
Add PHP support to your root folder.
In PHP explorer, find the root folder and right click your mouse at the root folder. Then select Configure -> Add PHP Support...
Here's a screenshot:

That's it! You don't need to restart Eclipse. Questions? Let me know!