src/FS/File/INI/SectionEditor.php
public function write()
	{
		$lines		= array();
		$sections	= $this->getSections();
		foreach( $sections as $section )
		{
			$lines[]	= "[".$section."]";
			foreach( $this->data[$section] as $key => $value )
				$lines[]	= $this->fillUp( $key )."=".$value;
		}
		return FS_File_Writer::saveArray( $this->fileName, $lines );
		$this->read();
	}
public function write()
	{
		$lines		= array();
		$sections	= $this->getSections();
		foreach( $sections as $section )
		{
			$lines[]	= "[".$section."]";
			foreach( $this->data[$section] as $key => $value )
				$lines[]	= $this->fillUp( $key )."=".$value;
		}
		return FS_File_Writer::saveArray( $this->fileName, $lines );
		$this->read();
	}
public function write ( ) { $ lines = array ( ) ; $ sections = $ this -> getSections ( ) ; foreach ( $ sections as $ section ) { $ lines [ ] = "[" . $ section . "]" ; foreach ( $ this -> data [ $ section ] as $ key => $ value ) $ lines [ ] = $ this -> fillUp ( $ key ) . "=" . $ value ; } return FS_File_Writer :: saveArray ( $ this -> fileName , $ lines ) ; $ this -> read ( ) ; }
Writes sectioned Property File and returns Number of written Bytes.
@access		public
@return		int
Writes sectioned Property File and returns Number of written Bytes .