Posted 20 years ago
by Martin Lundberg
- Sweden
Hello!
Once again I'm not sure if this is a question for this forum but I think it will be good for newbies like me to read this too.
I'm asking for some ideas on how I should store the things I'm going to use with Intelliprmpt. For example all the PHP functions. First I want to be able to show all the functions in a memberlist, then inside a function I want to show the functions syntax and so on.
Should I keep them in a xml file?
I did a example:I guess you would then load it into objects that you could use to create a memberlist or infotip.
Thanks in advance!
Once again I'm not sure if this is a question for this forum but I think it will be good for newbies like me to read this too.
I'm asking for some ideas on how I should store the things I'm going to use with Intelliprmpt. For example all the PHP functions. First I want to be able to show all the functions in a memberlist, then inside a function I want to show the functions syntax and so on.
Should I keep them in a xml file?
I did a example:
<?xml version="1.0" encoding="utf-8" ?>
<test>
<functions>
<function name="array_fill" return="array" since="4.2.0">
<parameters>
<parameter type="int">start_key</parameter>
<parameter type="int">num</parameter>
<parameter type="mixed">val</parameter>
</parameters>
<description>
Create an array containing num elements
starting with index start_key each
initialized to val.
</description>
</function>
<function name="array_flip" return="array" since="4.0.0">
<parameters>
<parameter type="array">input</parameter>
</parameters>
<description>
Return array with key and value flipped.
</description>
</function>
</functions>
</test>
Thanks in advance!
Martin Lundberg
Student, Sweden