faq
flatforty
contribute
subscribe
configure
search
rdf
main
parent
thread
|
Re: PHP
by Andras Mantia on Wednesday 20/Apr/2005, @09:56
|
The parameters do not appear unless the function/class is declared in a .tag file in the DTEP. This is what Eric says, that we might generated in the feature project specific DTEP tags from PHP classes and functions. Right now what you can get from Quanta is autocompletion for external functions, classes and class methods:
included_file.php:
<?
class includedClass {
function includedClass_ctor(int i)
{
if ($a) {
$b = $a;
}
}
function includedClass_method2(string s)
{
}
function includedClass_method1(int i, int j)
{
}
}
function externalFunc(int i) {
}
$includevar;
?>
main_file.php:
<?
include ("included_file.php");
class qmyClass{
function qmyClass_ctor(int i)
{
$i = 0;
}
function qmyClass_method2(string s)
{
}
function qmyClass_method1(int i, int j)
{
$this-> [will show the methods of qmyClass]
}
}
function qmyFunction(int i, int j)
{
}
$test = new [will show the qmyClass and includedClass]
$q = new qmyClass;
$f_included = new includedClass;
$q-> [will show the qmyClass methods]
$f_included-> [will shot the includedClass methods[
ext [CTRL-SPACE will show the externalFunc declared in the included file]
qmy [CTRL-SPACE will show the qmyFunction declared here]
$ [will show all the used variables, including the ones from the included files, except of the "i" and "this" from inside qmyClass]
?>
Class member variable autocompletion and hints for the function/member arguments will come in the next versions.
NOTE: autocompletion either pops up automatically in some cases (like when typing $ or ->) or you can invoke manually with CTRL-SPACE. |
|
|