Menu

Clone/Copy Object internal via PHP

Nico
2020-08-10
2020-08-11
  • Nico

    Nico - 2020-08-10

    Hi,
    i would like to create a Background Task that should clone every month a change template to a routine change.
    I tried a few thing but dont get it to work. The background task is not the problem.
    I need to know how I can clone/copy an object internal via PHP. The Object-Copier extension is installed but I think not functional for this.
    I found the DBClone function but I have no idea how to use it.
    Does anyone did something like that already?
    Many thanks,
    Nico

     
  • Pierre Goiffon

    Pierre Goiffon - 2020-08-10

    Combodo made such an extension : Recurring Object
    But it's not yet available ion iTop Hub...
    You may contact sales@combodo.com

     
  • Vincent @ Combodo

    Give a look at this extension, it's kind of a base for writing your own. "Recurring object" is based on it.

     
    • Nico

      Nico - 2020-08-10

      Thanks for the hint.
      I've found the functions that will clone my Objects as desired.

      BTW: Are there any news about this question: https://sourceforge.net/p/itop/discussion/922360/thread/b32df882db/?limit=25#e74e
      Pierre and 'glajarige' have been engaged with it.
      Many thanks again,
      Nico

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.