src/DB/StatementBuilder.php
public function addTable( $table, $prefix = NULL )
	{
		$prefix	= $prefix === NULL ? $this->prefix : $prefix;
		if( is_array( $table ) )
			return $this->addTables( $table, $prefix );
		if( in_array( $prefix.$table, $this->tables ) )
			return FALSE;
		$this->tables[] = $prefix.$table;
		return TRUE;
	}
public function addTable( $table, $prefix = NULL )
	{
		$prefix	= $prefix === NULL ? $this->prefix : $prefix;
		if( is_array( $table ) )
			return $this->addTables( $table, $prefix );
		if( in_array( $prefix.$table, $this->tables ) )
			return FALSE;
		$this->tables[] = $prefix.$table;
		return TRUE;
	}
public function addTable ( $ table , $ prefix = NULL ) { $ prefix = $ prefix === NULL ? $ this -> prefix : $ prefix ; if ( is_array ( $ table ) ) return $ this -> addTables ( $ table , $ prefix ) ; if ( in_array ( $ prefix . $ table , $ this -> tables ) ) return FALSE ; $ this -> tables [ ] = $ prefix . $ table ; return TRUE ; }
Adds a table to search in.
@access		public
@param		string		$table			Table to search in
@param		string		$prefix			Prefix to override default prefix
@return		void
Adds a table to search in .