How to get Custom Class Function Definitions

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
rodsimm
Posts: 1
Joined: Sat Sep 03, 2011 1:13 pm

How to get Custom Class Function Definitions

Post by rodsimm »

Hi,
Please can somebody answer this question..

Is it possible to view custom class function definitions?
And if so then how.

For example..
Using standard commenting syntax I can document the function but I can't view this information when writing code on the page.

Code: Select all

/**
* Description of MyClass goes here
* @author Fred Flintstone <fred@fred-flintstone.com>
*/
<?php
class MyClass{
  /**
  * @param string $someText Any text you want to echo!
  */
  function echoSomeText ($someText ){
    echo $someText ;
  }
}
What I would expect is something in the code hint something like this..

Code: Select all

$c = new MyClass();
$c->
  • echoSomeText ($someText)
  • Parameters
    • string | $someText | Any text you want to echo!
OK.. very silly example but I am just trying to give an explanation here.

So... it is possible to display custom class function definitions using other programs like NetBeans..
is it possible to display the custom class function definitions with WeBuilder 2011?

Is there another way to see them? In a window?

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

Re: How to get Custom Class Function Definitions

Post by Gatis »

Hi,

=>Is it possible to view custom class function definitions?
No, currently there is no way to do this.

The main underlying functionality is there for this feature to work. But the user interface part is currently not there, because we did not see enough demand for this at the time when this feature was implemented. There is also a voting for this here:
http://forums.blumentals.net/viewtopic.php?f=1&t=2931

If we receive more requests, this feature might get implemented in future.
Kind regards,
Gatis Avots
Post Reply