Hey, im developing a work-order processing/tracking module for the company i work for but im having some trouble getting an aspect of it to work.
using DBUtil::insertObject works fine and i can insert an object, but what im looking to do is insert and object if the 'id' field is not set, but if the id field is set update the object. i know with SQL you can literally say insert of update, what dbutil method?
it's been awhile since i've done anything with zikula and im a little rusty, i apologize for the hiatus my work has taken over my life for the summer, but with the summer coming to an end i should be around more often
thanks,
kyle :D
- mercromina responded to »error when i try to upgrade to the last version of dizkus module (3.1)« 08:01 PM
- craigh responded to »TagIt 3.0 for Zikula« 03:58 PM
- localrags responded to »Remove contents of nuke_sc_anticracker from Database« 11:30 AM
- jmvaughn responded to »Shoutit for zikula 1.3?« 09:31 AM
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
