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_Date
Source Location: /Filter/Date.php
Class Overview
Converts the given string into human readable time format.
Author(s):
Florian Sonnenburg
Version:
$Id: Date.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 42]
Converts the given string into human readable time format.
The following input formats are supported:
integer: $value is interpreted as Unix timestamp
(string)YYYY-MM-DD | YYYY-MM-DD HH:MM:SS: Date is converted into Unix timestamp
If $value cannot be converted into Unix timestamp, 'n/a' is returned instead.
Tags:
author:
Florian Sonnenburg
version:
$Id: Date.php 126 2011-05-18 18:41:58Z meweasle $
copyright:
Copyright (c) 2009 Florian Sonnenburg
[
Top
]
Class Methods
method filter
[line 51]
void filter( $value)
Tags:
access:
public
Implementation of:
Formagic_Filter_Interface::filter()
Filter implementation.
Parameters:
$value
[
Top
]
Documentation generated on Sun, 22 May 2011 22:40:10 +0200 by
phpDocumentor 1.4.3