Class EmailWriter
Writes email records in the database (insert/update operations).
category |
System |
---|---|
package |
|
subpackage |
Repository |
__construct(\CI_DB_query_builder $db)
\CI_DB_query_builder
Query builder.
_insert(\EmailInterface $email)
_update(\EmailInterface $email)
_writeContactsAndAttachments(\EmailInterface $email)
It will delete old records (if exist) and re-insert them so that the data state will represent the object state.
htmlentitiesWrapper( $string, $flags = false, $encoding = '', $doubleEncode = true)
htmlEntityDecodeWrapper( $string, $flags = false, $encoding = '')
write(\EmailInterface $email)
db : \CI_DB_query_builder
var |
---|
\CI_DB_query_builder