Menu

PHP parameter hints for static functions

shodanto
2008-07-06
2012-11-13
  • shodanto

    shodanto - 2008-07-06

    Is it correct that the paramter hints do not show for static objects even if they are defined in the APIs Autocomplete tabs, for eg.:

    ArrayObject::setFlags

    in php.xml

    <KeyWord name="ArrayObject::setFlags" func="yes">
                <Overload retVal="void">
                    <Param name="int flags" />
                </Overload>
            </KeyWord>

    Will this behavoiur be changed or can i change it myself somehow?

    I need the static function to be displayed because i have a lot of own classes.

     
    • shodanto

      shodanto - 2008-07-06

      Found that http://notepad-plus.wiki.sourceforge.net/Create_AutoComplete saying '::' is not supported.

      Will it be in the future or can i activate that somehow myself?

      Just found out that the '__' must be at the end or the xml file. or they will block all other searches.

       
    • shodanto

      shodanto - 2008-07-06

      It seems the keyword name does not support underscore so i guess it also does not support '::' ?