protected function _saveText( MW_DB_Statement_Interface $stmt, $id, $siteid, $refid, $lang, $listtype,
		$reftype, $domain, $content, $date, $editor )
	{
		$stmt->bind( 1, $id, MW_DB_Statement_Abstract::PARAM_INT );
		$stmt->bind( 2, $siteid, MW_DB_Statement_Abstract::PARAM_INT );
		$stmt->bind( 3, $refid );
		$stmt->bind( 4, $lang );
		$stmt->bind( 5, $listtype );
		$stmt->bind( 6, $reftype );
		$stmt->bind( 7, $domain );
		$stmt->bind( 8, $content );
		$stmt->bind( 9, $date );//mtime
		$stmt->bind( 10, $editor );
		$stmt->bind( 11, $date );//ctime

		try {
			$stmt->execute()->finish();
		} catch( MW_DB_Exception $e ) { ; } // Ignore duplicates
	}
protected function _saveText( MW_DB_Statement_Interface $stmt, $id, $siteid, $refid, $lang, $listtype,
		$reftype, $domain, $content, $date, $editor )
	{
		$stmt->bind( 1, $id, MW_DB_Statement_Abstract::PARAM_INT );
		$stmt->bind( 2, $siteid, MW_DB_Statement_Abstract::PARAM_INT );
		$stmt->bind( 3, $refid );
		$stmt->bind( 4, $lang );
		$stmt->bind( 5, $listtype );
		$stmt->bind( 6, $reftype );
		$stmt->bind( 7, $domain );
		$stmt->bind( 8, $content );
		$stmt->bind( 9, $date );//mtime
		$stmt->bind( 10, $editor );
		$stmt->bind( 11, $date );//ctime

		try {
			$stmt->execute()->finish();
		} catch( MW_DB_Exception $e ) { ; } // Ignore duplicates
	}
protected function _saveText ( MW_DB_Statement_Interface $ stmt , $ id , $ siteid , $ refid , $ lang , $ listtype , $ reftype , $ domain , $ content , $ date , $ editor ) { $ stmt -> bind ( 1 , $ id , MW_DB_Statement_Abstract :: PARAM_INT ) ; $ stmt -> bind ( 2 , $ siteid , MW_DB_Statement_Abstract :: PARAM_INT ) ; $ stmt -> bind ( 3 , $ refid ) ; $ stmt -> bind ( 4 , $ lang ) ; $ stmt -> bind ( 5 , $ listtype ) ; $ stmt -> bind ( 6 , $ reftype ) ; $ stmt -> bind ( 7 , $ domain ) ; $ stmt -> bind ( 8 , $ content ) ; $ stmt -> bind ( 9 , $ date ) ; //mtime $ stmt -> bind ( 10 , $ editor ) ; $ stmt -> bind ( 11 , $ date ) ; //ctime try { $ stmt -> execute ( ) -> finish ( ) ; } catch ( MW_DB_Exception $ e ) { ; } // Ignore duplicates }
Saves the text record with given set of parameters.

@param MW_DB_Statement_Interface $stmt Prepared SQL statement with place holders
@param integer $id ID of the product item
@param integer $siteid Site ID
@param string $refid ID of the text item that contains the text
@param string $lang Two letter ISO language code
@param string $listtype Type of the referenced text in the list item
@param string $reftype Type of the referenced text item
@param string $domain Domain the text is from
@param string $content Text content to store
@param string $date Current timestamp in "YYYY-MM-DD HH:mm:ss" format
@param string $editor Name of the editor who stored the product
Saves the text record with given set of parameters .