Class SpecialOfferWriter
package |
Default |
---|
__construct(\CI_DB_query_builder $db)
\CI_DB_query_builder
delete(integer $specialOfferId) : void
integer
Id of special offer to be removed.
insert(array $specialOfferData) : integer
Throws |
|
---|
array
Special offer data to be inserted.
integer
Insert id.
update(array $specialOfferData, integer $specialOfferId) : void
array
Special offer data to be updated.
integer
Id of special offer to be updated.
db : \CI_DB_query_builder
var |
---|
\CI_DB_query_builder
table : string
var |
---|
string
productsTable : string
var |
---|
string