Gumbo_Converter_NewLineBreak

Gumbo_Converter_Abstract
   |
   --Gumbo_Converter_NewLineBreak

New Line to BR Converter Class

Author(s): Michael Luster <mluster79@yahoo.com>
License:New BSD License
Copyright:Copyright (c) 2007, iBayou, Michael Luster
Link:http://sourceforge.net/projects/phpgumbo
Version:0.0.1

Inherited Methods

Class Variables

string $_eol =  PHP_EOL [line 38]

Class Methods

public Gumbo_Converter_NewLineBreak __construct ( [string $eol] ) [line 46]

Constructor

Parameter(s):

  • (string) $eol :: End of Line characters

[ Top ]
public string getEOL ( ) [line 124]

Returns the End of Line characters


[ Top ]
public void setEOL ( string $eol ) [line 103]

Sets the End Of Line Characters

Parameter(s):

  • (string) $eol
  • throws:  Gumbo_Exception

[ Top ]
public string toBr ( string $data ) [line 80]

Returns New Line Characters to BR tags

Parameter(s):

  • (string) $data

[ Top ]
public string toNl ( string $data ) [line 58]

Returns BR tags to New Line Characters

Parameter(s):

  • (string) $data

[ Top ]