src/FS/File/List/Writer.php
public function add( $item, $force = FALSE )
	{
		if( in_array( $item, $this->list ) && !$force )
			throw new DomainException( 'Item "'.$item.'" is already existing. See Option "force".' );
		$this->list[]	= $item;
		return $this->write();
	}
public function add( $item, $force = FALSE )
	{
		if( in_array( $item, $this->list ) && !$force )
			throw new DomainException( 'Item "'.$item.'" is already existing. See Option "force".' );
		$this->list[]	= $item;
		return $this->write();
	}
public function add ( $ item , $ force = FALSE ) { if ( in_array ( $ item , $ this -> list ) && ! $ force ) throw new DomainException ( 'Item "' . $ item . '" is already existing. See Option "force".' ) ; $ this -> list [ ] = $ item ; return $ this -> write ( ) ; }
Adds an Item to the current List.
@access		public
@param		string		$item			Item to add
@param		bool		$force			Flag: force overwriting
@return		void
Adds an Item to the current List .