ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Is there any possible way to communicate with the module function without using Action ID ?

January 30, 2011 3:18am

Subscribe [2]
  • #1 / Jan 30, 2011 3:18am

    crypton

    20 posts

    We are planning to create a module to allow IPhone to communicate with ExpressionEngine.
    In EE, actions are created at the time of installation of the module and will have different ids for each site.

    Is there any possible way to communicate with the module function without using Action ID ?

    Since we want to use the iPhone app to communicate with different EE installation, it will be a problem if the Action ID will change all the time.

  • #2 / Jan 31, 2011 3:46am

    John Henry Donovan

    12339 posts

    crypton,

    There are different ways to fetch an action ID

    $aid = $this->EE->cp->fetch_action_id($class, $method);

    or

    $action_id = $this->EE->functions->fetch_action_id('Comment', 'insert_new_comment');

    Can your module not pass these IDs to the iPhone app?

    I am by no means an iPhone app developer but if you wish to write what you plan to do up some more then I can move this thread to the CodeShare Corner for you to share with our community

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases