[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta-devel
Subject:    Re: [quanta-devel] OT? how does the function reference work in
From:       Andras Mantia <amantia () kde ! org>
Date:       2006-06-01 7:14:33
Message-ID: 200606011014.39862.amantia () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 31 May 2006 23:30, Brian G. Peterson wrote:
> Quanta also has pop-up tooltips that show what the arguments to a PHP
> function are. These don't show up in Kate, so I assume that they are
> specific to Quanta. Where are these defined?
>
> are these the:
> /usr/kde/3.5/share/apps/quanta/dtep/*/*.tag
> files?  

Yes.

> It looks like these may be the source of the tooltips, but 
> these only seem to define return-types and PHP versions, not calling
> parameters.

They are there as well. It is described in the handbook, but here it is 
again:
<tag name="array_change_key_case" type="function" returnType="array" 
version="PHP 4 &gt;= 4.2.0, PHP 5">
		<attr name="input" type="array" status="required"></attr>
		<attr name="case" type="int" status="optional"></attr>
	</tag>

This described the "array_change_key_case" function that returns an 
array and is available in PHP > 4.2.0 and has the following arguments:
- "input", and array and is required
- "case", an integer and is optional

> I'm asking because I need to develop this same kind of support for
> the R statistical package.  Getting the list of R functions is easy,
> but I don't see how the function parameter reference works at all.

I hope this helps. If you have the package ready, you might want to 
share with others as well. ;-)

Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org

[Attachment #5 (application/pgp-signature)]

_______________________________________________
quanta-devel mailing list
quanta-devel@kde.org
https://mail.kde.org/mailman/listinfo/quanta-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic