src/FS/File/Writer.php
public static function save( $fileName, $content, $mode = NULL, $user = NULL, $group = NULL )
	{
		$writer	= new FS_File_Writer( $fileName, $mode, $user, $group );
		return $writer->writeString( $content );
	}
public static function save( $fileName, $content, $mode = NULL, $user = NULL, $group = NULL )
	{
		$writer	= new FS_File_Writer( $fileName, $mode, $user, $group );
		return $writer->writeString( $content );
	}
public static function save ( $ fileName , $ content , $ mode = NULL , $ user = NULL , $ group = NULL ) { $ writer = new FS_File_Writer ( $ fileName , $ mode , $ user , $ group ) ; return $ writer -> writeString ( $ content ) ; }
Saves Content into a File statically and returns Length.
@access		public
@static
@param		string		$fileName 		URI of File
@param		string		$content		Content to save in File
@param		string		$mode			UNIX rights for chmod()
@param		string		$user			User Name for chown()
@param		string		$group			Group Name for chgrp()
@return		integer		Number of written bytes
@throws		InvalidArgumentExcpetion if no string is given
Saves Content into a File statically and returns Length .