Menu

Call an extension function from another one?

2007-09-21
2013-04-22
  • Nobody/Anonymous

    Hi,
    I'm developing a web app using php4delphi as extension builder. I wrote a lot of extensions to separate logically the app. Now I would like to write some extensions that keep generic function that I would like to call from inside other extensions.
    So that's the question: is there a way to call an extension function from inside another one?
    TIA,
    Paolo

     
    • Serhiy Perevoznyk

      Hi,

      PHP extensions export function get_module with type Pzend_module_entry.
      Pzend_module_entry.functions is a list of the functions implemented in the module.
      At the same time it's a strange way to call it. Maybe you can declare your generic function
      as an standard exported function from DLL and declare it as external in other extensions.

       

Log in to post a comment.