Does WeBuilder understand PHP OOP

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
daveporter
Posts: 51
Joined: Sun Jun 12, 2005 9:04 am

Does WeBuilder understand PHP OOP

Post by daveporter »

The subject says it all....

When I type cla and press Control + Space, I expected class to be in the list ?

Similarly when I start typing 3 or 4 letters of 'protected' and press control+space I expect it to be in the list...

Am I missing something obvious ?
( File is saved as a php file ! )

TIA, Dave

( v 10.1.0.119 )
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Does WeBuilder understand PHP OOP

Post by Gatis »

Yes, WeBuilder does have support for PHP OOP.
However, the PHP keywords are not currently in the auto-complete lists.

Some of the supported PHP OOP features included are:
-Built-in functions; PHP built-in classes, properties
-$this->property (inside class you can use $this-> and you will see autocomplete for this class)
-Class AC (you can see all classes once you crate a new object using command new)
-Variable AC (global, user)
-Object AC (you can see object's PHP class attributes)
-Class A Extends Class B
-Static values
-const
Kind regards,
Gatis Avots
daveporter
Posts: 51
Joined: Sun Jun 12, 2005 9:04 am

Re: Does WeBuilder understand PHP OOP

Post by daveporter »

Thanks Garis,

Is it possible to manually edit the auto-complete lists ?

cheers Dave
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Does WeBuilder understand PHP OOP

Post by Gatis »

Yes, it is possible to edit the lists.
But this is not very user friendly, and there is no documentation for that.
You can find data which is used in auto-complete functionality under folder:
C:\Program Files\WeBuilder 2010\data
Kind regards,
Gatis Avots
Post Reply