Menu

No Functions - Function list plugin

2006-09-23
2012-11-14
  • Nobody/Anonymous

    Why when I open the function List plugin, I only have No Functions...

    For example I choose PHP as the language.

    Is there a way to show those functions?...

    =(

    Thx for all the help

     
    • Nobody/Anonymous

      The problem is, that I didn't know PHP very well. But if I understand the webside http://www.html-world.de/program/php_3.php correctly you have to use:

      <?php
      function test1 ()
      {
      echo 'something';
      }
      function test2 () {
      return 'nothing';
      }

      echo 'I want to use that Plugin that should do'.test1().' but does '.test2().' and that is bad';
      ?>

      And this works for me! I add only the braces behind the function name.

      Best Regards
      Jens

       
    • Nobody/Anonymous

      For me it works correct. Could you publish here a code snipped. I will try it.

      Best Regards
      Jens

       
      • Nobody/Anonymous

        Maybe i'm stupid but

        a.) should that plugin show me all available functions for that language?
        or
        b.) all funktions that are in the current file(s)
        or
        c.) something else

        For me it don't works either because:

        a.) It dont shows functions at all if it's open and a language is set.
        and
        b.) if I open a file that contains functions it dont shows them too (lang set to php)
        ________ file i tryed with _____________
        <?php
        function test1
        {
        echo 'something';
        }
        function test2    {
        return 'nothing';
        }

        echo 'I want to use that Plugin that should do'.test1().' but does '.test2().' and that is bad';
        ?>
        _________ file end ______________________
        and
        c.) what else could it do?

        Any Ideas?

         
        • Nobody/Anonymous

          This will list the functions that YOU have defined in the file that is open.

          in php,

          it will list myfun
          if you have defined

          function myfun($x) {
            blah
            blah
            blah
          }

           
    • Nobody/Anonymous

      Well,

      whatever the code I try it shows nothing... perhaps this plugin is not what I think...

      Let's say this screenshot
      http://benice.beadventure.ca/g/download/functions.png

      Or let's say this code:

      <?php
      if(PAGE_LVL != 'anonymous')
      {
          if($_SESSION['priv_' . PAGE_LVL] != 1) {
              $errorTitle = $phprlang['priv_title'];
              $errorMsg = $phprlang['priv_msg'];
              $errorDie = 1;
          }
      }
      ?>

       
    • Nobody/Anonymous

      Ok,

      I understand what this does now...

      it looks at all your "function" and make a list...

      Please, don't kick my ass to being that stupid, thank you.