amaltea
23-07-05, 01:23 AM
From dotproject framework documentation:
store( $updateNulls=false ) - Performs the database INSERT/UPDATE, depending on the state of the in-object-primary-key, transfering all the object's properties to their respective database columns. If the primary key is zero or null, store() performs an INSERT, otherwise it performs an UPDATE. This method returns NULL on success and an error string on an error.
The question: is there any way to have a property that the inherited methods from CDpObject CLASS won't take as a database field ?
store( $updateNulls=false ) - Performs the database INSERT/UPDATE, depending on the state of the in-object-primary-key, transfering all the object's properties to their respective database columns. If the primary key is zero or null, store() performs an INSERT, otherwise it performs an UPDATE. This method returns NULL on success and an error string on an error.
The question: is there any way to have a property that the inherited methods from CDpObject CLASS won't take as a database field ?