src/FS/File/List/Editor.php
public function edit( $oldItem, $newItem )
	{
		$index	= $this->getIndex( $oldItem );
		$this->list[$index]	= $newItem;
		return $this->write();
	}
public function edit( $oldItem, $newItem )
	{
		$index	= $this->getIndex( $oldItem );
		$this->list[$index]	= $newItem;
		return $this->write();
	}
public function edit ( $ oldItem , $ newItem ) { $ index = $ this -> getIndex ( $ oldItem ) ; $ this -> list [ $ index ] = $ newItem ; return $ this -> write ( ) ; }
Edits an existing Item of current List.
@access		public
@param		int			$oldItem		Item to replace
@param		int			$newItem		Item to set instead
@return		bool
Edits an existing Item of current List .