samples/PhotoAlbum/lib/rb.php
public function setTables($tables) {
		foreach($tables as $key=>$value) {
			if (is_numeric($key)) {
				$this->tables[] = $value;
			}
			else {
				$this->tables[] = $key;
				$this->columns[$key] = $value;
			}
		}
		$this->cacheTables = true;
	}
public function setTables($tables) {
		foreach($tables as $key=>$value) {
			if (is_numeric($key)) {
				$this->tables[] = $value;
			}
			else {
				$this->tables[] = $key;
				$this->columns[$key] = $value;
			}
		}
		$this->cacheTables = true;
	}
public function setTables ( $ tables ) { foreach ( $ tables as $ key => $ value ) { if ( is_numeric ( $ key ) ) { $ this -> tables [ ] = $ value ; } else { $ this -> tables [ ] = $ key ; $ this -> columns [ $ key ] = $ value ; } } $ this -> cacheTables = true ; }
For better performance you can pass the tables in an array to this method.
If the tables are available the duplication manager will not query them so
this might be beneficial for performance.

@param array $tables
For better performance you can pass the tables in an array to this method . If the tables are available the duplication manager will not query them so this might be beneficial for performance .