Filter
[
class tree: Filter
] [
index: Filter
] [
all elements
]
Todo List
Packages:
Formagic
Filter
Item
Renderer
Rule
Translator
Files:
Callback.php
Date.php
Interface.php
Nl2br.php
Replace.php
Trim.php
Interfaces:
Formagic_Filter_Interface
Classes:
Formagic_Filter_Callback
Formagic_Filter_Date
Formagic_Filter_Nl2br
Formagic_Filter_Replace
Formagic_Filter_Trim
Class: Formagic_Filter_Nl2br
Source Location: /Filter/Nl2br.php
Class Overview
Converts all newline characters to HTML breaks
Author(s):
Florian Sonnenburg
Version:
$Id: Nl2br.php 126 2011-05-18 18:41:58Z meweasle $
Copyright:
Copyright (c) 2009 Florian Sonnenburg
Implements interfaces:
Formagic_Filter_Interface
Methods
filter
Class Details
[line 36]
Converts all newline characters to HTML breaks
Tags:
author:
Florian Sonnenburg
version:
$Id: Nl2br.php 126 2011-05-18 18:41:58Z meweasle $
copyright:
Copyright (c) 2009 Florian Sonnenburg
[
Top
]
Class Methods
method filter
[line 46]
string filter( string $value)
Transforms all newline characters to HTML breaks.
Utilizes PHP's
nl2br()
.
Tags:
return:
The filtered string
access:
public
Implementation of:
Formagic_Filter_Interface::filter()
Filter implementation.
Parameters:
string
$value
The string to be filtered
[
Top
]
Documentation generated on Sun, 22 May 2011 22:40:18 +0200 by
phpDocumentor 1.4.3