/** * Constructor. Sets the connection, the database name and other default values. * Also sets the transaction type. * @param object KT_Connection &$connection the connection object * @access public */ function tNG_multipleInsert(&$connection) { parent::tNG_multiple($connection); $this->transactionType = '_multipleInsert'; $this->setInsertElements("GET", "no_new"); $this->exportRecordset = true; }
/** * Constructor. Sets the connection, the database name and other default values. * Also sets the transaction type. * @param object KT_Connection &$connection the connection object * @access public */ function tNG_multipleDelete(&$connection) { parent::tNG_multiple($connection); $this->transactionType = '_multipleDelete'; }
/** * Constructor. Sets the connection, the database name and other default values. * Also sets the transaction type. * @param object KT_Connection &$connection the connection object * @access public */ function tNG_import(&$connection) { parent::tNG_multiple($connection); $this->transactionType = '_import'; $this->exportRecordset = false; $this->source = array(); $this->data = array(); $this->headers = array(); $this->hasHeader = false; $this->importType = ''; $this->importReference = ''; $this->lineStart = 0; }
/** * Constructor. Sets the connection, the database name and other default values. * Also sets the transaction type and the exportRecordset flag to true. * @param object KT_Connection &$connection the connection object * @access public */ function tNG_multipleUpdate(&$connection) { parent::tNG_multiple($connection); $this->transactionType = '_multipleUpdate'; $this->exportRecordset = true; }