#3 Added support for classes and function parameters for PHP

open
Jens Lorenz
5
2008-03-20
2008-03-20
Anonymous
No

Hi,

i've upaded language rules for PHP language to add support for CLASSES, in the treeview, and to add support for function parameters in FUNCTION rule

Here there is the updated XML
<Language name="PHP" imagelistpath="">
<CommList param1="#" param2="" />
<CommList param1="//" param2="" />
<CommList param1="/\*" param2="\*/" />
<Group name="CLASS" subgroup="" icon="0" child="0" autoexp="0" matchcase="1" fendtobbeg="" bbegtobend="\{">
<Rules regexbeg="class[\s&amp;]+" regexfunc='[&quot;\w_]+' regexend="" bodybegin="\{" bodyend="\}" sep="" />
</Group>
<Group name="FUNCTION" subgroup="CLASS" icon="0" child="0" autoexp="4" matchcase="1" fendtobbeg="" bbegtobend="\{">
<Rules regexbeg="function[\s&amp;]+" regexfunc='[&quot;\w_]+\s*\(.*\)' regexend="" bodybegin="\{" bodyend="\}" sep=";" />
</Group>
</Language>

Discussion