src/php/econtext-lib-file/File.php
public function write($string, $length=null) {
		$this->assertWritable();
		return $this->format->write($this->file, $string, $length);
	}
public function write($string, $length=null) {
		$this->assertWritable();
		return $this->format->write($this->file, $string, $length);
	}
public function write ( $ string , $ length = null ) { $ this -> assertWritable ( ) ; return $ this -> format -> write ( $ this -> file , $ string , $ length ) ; }
Write the string to file

@param string $string Content to write to file
@param mixed $length If the length argument is given, writing will stop after length bytes have been written or the end of string is reached, whichever comes first
@see http://us3.php.net/manual/en/function.fwrite.php
Write the string to file