public function setLineEnd($style)
	{
		switch ($style)
		{
			case 'win':
				$this->_lineEnd = "\15\12";
			break;

			case 'unix':
				$this->_lineEnd = "\12";
			break;

			case 'mac':
				$this->_lineEnd = "\15";
			break;

			default:
				$this->_lineEnd = $style;
		}

		return $this;
	}
public function setLineEnd($style)
	{
		switch ($style)
		{
			case 'win':
				$this->_lineEnd = "\15\12";
			break;

			case 'unix':
				$this->_lineEnd = "\12";
			break;

			case 'mac':
				$this->_lineEnd = "\15";
			break;

			default:
				$this->_lineEnd = $style;
		}

		return $this;
	}
public function setLineEnd ( $ style ) { switch ( $ style ) { case 'win' : $ this -> _lineEnd = "\15\12" ; break ; case 'unix' : $ this -> _lineEnd = "\12" ; break ; case 'mac' : $ this -> _lineEnd = "\15" ; break ; default : $ this -> _lineEnd = $ style ; } return $ this ; }
Sets the line end style to Windows, Mac, Unix or a custom string.

@param   string  $style  "win", "mac", "unix" or custom string.
@return  object  Document instance of $this to allow chaining
Sets the line end style to Windows Mac Unix or a custom string .