Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Kohana_Twig_Filters
PHP Class Kohana_Twig_Filters, kohana-twig
Author:
Jonathan Geiger
Mostra file
Open project: jonathangeiger/kohana-twig
Public Methods
Method
Description
ordinal
(
string
$number
) :
string
Returns num::ordinal with the number prepended
timesince
(
string
$older_date
,
string
$newer_date
= NULL ) :
string
Returns the time since a particular time
Method Details
ordinal()
public
static
method
Returns num::ordinal with the number prepended
Author:
Jonathan Geiger
public
static
ordinal
(
string
$number
) :
string
$number
string
return
string
timesince()
public
static
method
Returns the time since a particular time
Author:
Jonathan Geiger
public
static
timesince
(
string
$older_date
,
string
$newer_date
= NULL ) :
string
$older_date
string
$newer_date
string
return
string