Funktion isys_cmdb_dao_category_g_location->save
-
Hallo ich würde gerne folgende Funktion bei mir einbinden:
isys_cmdb_dao_category_g_location->saveAber ich werde aus dem Kommentar zu der Funktion nicht schlau.
Könnte mir diese Funktion an folgendem Bsp. mal erklären.
Gerät: location_list__id: 48;
obj__id: 81;
parent_id: 77
momentaner Standort: location_list__id: 39;
obj__id: 77;
neuer Standort: location_list__id: 46;
obj__id: 80;Was muss ich also übergeben damit für das Gerät der NEUE Standort gespeichert wird.
Schon mal vielen Dank
-
->save(81, 46, 80, "New location object: 80")
-
Was baust du da wenn ich fragen darf?

-
Vielen Dank für die schnelle Antwort.
ich bastel immer noch an der idoit_api rum.
und musste feststellen dass ein neuanlegen der Location sehr einfach
selber zu machen ist aber ein update ne menge mehr Gehirnschmalz verlangt.
und die arbeit wollte ich jetzt nicht doppelt machen.Der Aufruf( php5 controller.php -v -m location_save) per Konsole klappt mittlerweile auch.
Aber kann man auf der Konsole Parameter übergeben.Den Aufruf über http probier ich jetzt nochmal, weil das hab ich seit der letzten Aktion auch nicht mehr angefasst.
-
Ausser user, password und mandant (-u -p -i) können auf der Konsole bisher noch keine weiteren Parameter übergeben werden
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login