public function save($file) {
			if (!is_writable(dirname($file)))
				return false;

			$f = fopen($file, 'w+');

			if ($f === false)
				$check = false;
			else
				$check = fwrite($f, $this->stringify());

			fclose($f);

			return $check;
		}
public function save($file) {
			if (!is_writable(dirname($file)))
				return false;

			$f = fopen($file, 'w+');

			if ($f === false)
				$check = false;
			else
				$check = fwrite($f, $this->stringify());

			fclose($f);

			return $check;
		}
public function save ( $ file ) { if ( ! is_writable ( dirname ( $ file ) ) ) return false ; $ f = fopen ( $ file , 'w+' ) ; if ( $ f === false ) $ check = false ; else $ check = fwrite ( $ f , $ this -> stringify ( ) ) ; fclose ( $ f ) ; return $ check ; }
Attempts to save the loaded mapping in the given file.

@param  string $file the path to the file to write to
@return boolean      true if the operation was successful, false if the file could not be written to
Attempts to save the loaded mapping in the given file .