src/DB/TableReader.php
public function setForeignKeys( $keys )
	{
		$found = TRUE;
		$this->foreignKeys	= array();
		foreach( $keys as $key )
		{
			if( !in_array( $key, $this->foreignKeys ) )
				$this->foreignKeys[] = $key;
			else $found = FALSE;
		}
		return $found;
	}
public function setForeignKeys( $keys )
	{
		$found = TRUE;
		$this->foreignKeys	= array();
		foreach( $keys as $key )
		{
			if( !in_array( $key, $this->foreignKeys ) )
				$this->foreignKeys[] = $key;
			else $found = FALSE;
		}
		return $found;
	}
public function setForeignKeys ( $ keys ) { $ found = TRUE ; $ this -> foreignKeys = array ( ) ; foreach ( $ keys as $ key ) { if ( ! in_array ( $ key , $ this -> foreignKeys ) ) $ this -> foreignKeys [ ] = $ key ; else $ found = FALSE ; } return $ found ; }
Setting all foreign keys of this Table.
@access		public
@param		array	$keys			all foreign keys of the Table
@return		bool
Setting all foreign keys of this Table .