Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > Suggestions > Topic : Use proper constructor in SDK class



Threaded Mode | Print  

 Use proper constructor in SDK class (1 Replies, Read 3638 times)
Keage
Group: Member
Post Group: Newbie
Posts: 44
Status:
The Virtualizor_Admin_API method should be __constructor, otherwise we have errors like the one below and it will stop working in a future version.

Quote
PHP error:  Methods with the same name as their class will not be constructors in a future version of PHP; Virtualizor_Admin_API has a deprecated constructor in virtualizor.php on line 24


This is a very old style of coding so I'd appreciate if if you could update soon!

Thanks
IP: --   

Use proper constructor in SDK class
Keage
Group: Member
Post Group: Newbie
Posts: 44
Status:
Sorry, I meant __construct of course.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 25, 2024, 3:32 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.033