Ejemplo n.º 1
0
 /**
  * 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;
 }
Ejemplo n.º 2
0
 /**
  * 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';
 }
Ejemplo n.º 3
0
 /**
  * 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;
 }
Ejemplo n.º 4
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;
 }