![]() |
![]() | Multilevel code completion. | ![]() |
![]() |
![]() | ![]() |
Site Admin
![]() |
![]() |
You're not right. Nested calls are perfectly well supported by PhpED.
If returning class is not recognized, you may specify it using TYPE HINTS, see it explained on FAQ forum. |
|||||||||||
_________________ The PHP IDE team
|
![]() |
![]() | ![]() |
Veteran
![]() |
![]() |
Well that is just great.
I will have to find out about the TYPE HINT then. |
|||||||||||
|
![]() |
![]() | ![]() |
Site Admin
![]() |
![]() |
With your example you're calling $b->getClass() which is not defined, neither in class A nor in class B.
In this case Code Completion says: "Code Completion is not available due to the following error(s):" "Failed to find "B::getClass()" method" Hope it's clear. If you try returnClass() instead of getClass(), you'd get code completion like shown below: ![]() Please note, that such calls are supported for PHP5 only. In php4 they give syntax error (php does not support such syntax, PhpED has nothing to do with this). |
|||||||||||
_________________ The PHP IDE team
|
![]() |
![]() | Multilevel code completion. | ![]() |
|
||
![]() |
![]() |
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
