original_string: function create( &$xmls ) {
  		foreach( $this->queries as $id => $query ) {
  			switch( $this->prefixMethod ) {
  				case 'AUTO':
  					// Enable auto prefix replacement
  
  					// Process object prefix.
  					// Evaluate SQL statements to prepend prefix to objects
  					$query = $this->prefixQuery( '/^\s*((?is)INSERT\s+(INTO\s+)?)((\w+\s*,?\s*)+)(\s.*$)/', $query, $xmls->objectPrefix );
  					$query = $this->prefixQuery( '/^\s*((?is)UPDATE\s+(FROM\s+)?)((\w+\s*,?\s*)+)(\s.*$)/', $query, $xmls->objectPrefix );
  					$query = $this->prefixQuery( '/^\s*((?is)DELETE\s+(FROM\s+)?)((\w+\s*,?\s*)+)(\s.*$)/', $query, $xmls->objectPrefix );
  
  					// SELECT statements aren't working yet
  					#$data = preg_replace( '/(?ias)(^\s*SELECT\s+.*\s+FROM)\s+(\W\s*,?\s*)+((?i)\s+WHERE.*$)/', "\1 $prefix\2 \3", $data );
  
  				case 'MANUAL':
  					// If prefixKey is set and has a value then we use it to override the default constant XMLS_PREFIX.
  					// If prefixKey is not set, we use the default constant XMLS_PREFIX
  					if( isset( $this->prefixKey ) AND( $this->prefixKey !== '' ) ) {
  						// Enable prefix override
  						$query = str_replace( $this->prefixKey, $xmls->objectPrefix, $query );
  					} else {
  						// Use default replacement
  						$query = str_replace( XMLS_PREFIX , $xmls->objectPrefix, $query );
  					}
  			}
  
  			$this->queries[$id] = trim( $query );
  		}
  
  		// Return the query set array
  		return $this->queries;
  	}
code: function create( &$xmls ) {
  		foreach( $this->queries as $id => $query ) {
  			switch( $this->prefixMethod ) {
  				case 'AUTO':
  					// Enable auto prefix replacement
  
  					// Process object prefix.
  					// Evaluate SQL statements to prepend prefix to objects
  					$query = $this->prefixQuery( '/^\s*((?is)INSERT\s+(INTO\s+)?)((\w+\s*,?\s*)+)(\s.*$)/', $query, $xmls->objectPrefix );
  					$query = $this->prefixQuery( '/^\s*((?is)UPDATE\s+(FROM\s+)?)((\w+\s*,?\s*)+)(\s.*$)/', $query, $xmls->objectPrefix );
  					$query = $this->prefixQuery( '/^\s*((?is)DELETE\s+(FROM\s+)?)((\w+\s*,?\s*)+)(\s.*$)/', $query, $xmls->objectPrefix );
  
  					// SELECT statements aren't working yet
  					#$data = preg_replace( '/(?ias)(^\s*SELECT\s+.*\s+FROM)\s+(\W\s*,?\s*)+((?i)\s+WHERE.*$)/', "\1 $prefix\2 \3", $data );
  
  				case 'MANUAL':
  					// If prefixKey is set and has a value then we use it to override the default constant XMLS_PREFIX.
  					// If prefixKey is not set, we use the default constant XMLS_PREFIX
  					if( isset( $this->prefixKey ) AND( $this->prefixKey !== '' ) ) {
  						// Enable prefix override
  						$query = str_replace( $this->prefixKey, $xmls->objectPrefix, $query );
  					} else {
  						// Use default replacement
  						$query = str_replace( XMLS_PREFIX , $xmls->objectPrefix, $query );
  					}
  			}
  
  			$this->queries[$id] = trim( $query );
  		}
  
  		// Return the query set array
  		return $this->queries;
  	}
code_tokens: function create ( & $ xmls ) { foreach ( $ this -> queries as $ id => $ query ) { switch ( $ this -> prefixMethod ) { case 'AUTO' : // Enable auto prefix replacement // Process object prefix. // Evaluate SQL statements to prepend prefix to objects $ query = $ this -> prefixQuery ( '/^\s*((?is)INSERT\s+(INTO\s+)?)((\w+\s*,?\s*)+)(\s.*$)/' , $ query , $ xmls -> objectPrefix ) ; $ query = $ this -> prefixQuery ( '/^\s*((?is)UPDATE\s+(FROM\s+)?)((\w+\s*,?\s*)+)(\s.*$)/' , $ query , $ xmls -> objectPrefix ) ; $ query = $ this -> prefixQuery ( '/^\s*((?is)DELETE\s+(FROM\s+)?)((\w+\s*,?\s*)+)(\s.*$)/' , $ query , $ xmls -> objectPrefix ) ; // SELECT statements aren't working yet #$data = preg_replace( '/(?ias)(^\s*SELECT\s+.*\s+FROM)\s+(\W\s*,?\s*)+((?i)\s+WHERE.*$)/', "\1 $prefix\2 \3", $data ); case 'MANUAL' : // If prefixKey is set and has a value then we use it to override the default constant XMLS_PREFIX. // If prefixKey is not set, we use the default constant XMLS_PREFIX if ( isset ( $ this -> prefixKey ) AND ( $ this -> prefixKey !== '' ) ) { // Enable prefix override $ query = str_replace ( $ this -> prefixKey , $ xmls -> objectPrefix , $ query ) ; } else { // Use default replacement $ query = str_replace ( XMLS_PREFIX , $ xmls -> objectPrefix , $ query ) ; } } $ this -> queries [ $ id ] = trim ( $ query ) ; } // Return the query set array return $ this -> queries ; }
docstring: Creates and returns the current query set
  
  @param object $xmls adoSchema object
  @return array Query set
docstring_tokens: Creates and returns the current query set