src/Ubiquity/utils/base/UArray.php
public static function save($array, $filename) {
		$content = "<?php\nreturn " . self::asPhpArray ( $array, "array", 1, true ) . ";";
		return UFileSystem::save ( $filename, $content );
	}
public static function save($array, $filename) {
		$content = "<?php\nreturn " . self::asPhpArray ( $array, "array", 1, true ) . ";";
		return UFileSystem::save ( $filename, $content );
	}
public static function save ( $ array , $ filename ) { $ content = "<?php\nreturn " . self :: asPhpArray ( $ array , "array" , 1 , true ) . ";" ; return UFileSystem :: save ( $ filename , $ content ) ; }
Save a php array to the disk.

@param array $array The array to save
@param string $filename The path of the file to save in
@return int
Save a php array to the disk .