Results 1 to 3 of 3

Thread: [solved] Get the module ID

  1. #1
    User
    Join Date
    11-23-09.
    Location
    Valais, Switzerland
    Posts
    77

    Default [solved] Get the module ID

    Hello,

    I build a new module that save some config info in Table : tl_module.

    But I do not know how to find my module id in php code after... how to find it?


    Code:
    SELECT * FROM tl_module WHERE id = ?

    Thanks

  2. #2
    User
    Join Date
    06-19-09.
    Location
    Kosice, Slovakia
    Posts
    61

    Default Re: Get the module ID

    Code:
    $this->id
    ?
    S.C.A.R.E

  3. #3
    User
    Join Date
    11-23-09.
    Location
    Valais, Switzerland
    Posts
    77

    Default Re: Get the module ID

    ok, $this->id in the class with "extends Module"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •