function addForeignKey($table, $pkname, $tables)
	{
		if ( is_string($tables) )
			$tables = array($tables);
			
		
		$this->_foreignKeys[$table] = array(
					'primaryKey' => $pkname,
					'tables' => $tables
				);
	}
function addForeignKey($table, $pkname, $tables)
	{
		if ( is_string($tables) )
			$tables = array($tables);
			
		
		$this->_foreignKeys[$table] = array(
					'primaryKey' => $pkname,
					'tables' => $tables
				);
	}
function addForeignKey ( $ table , $ pkname , $ tables ) { if ( is_string ( $ tables ) ) $ tables = array ( $ tables ) ; $ this -> _foreignKeys [ $ table ] = array ( 'primaryKey' => $ pkname , 'tables' => $ tables ) ; }
Add some config data for a new foreign key

@param string $table Name of the foreign key table
@param string $pkname Name of its primary key
@param string[] $tables Array of tables referencing $table parameter
Add some config data for a new foreign key