I18N_Arabic
[ class tree: I18N_Arabic ] [ index: I18N_Arabic ] [ all elements ]

Class: I18N_Arabic_StrToTime

Source Location: /I18N_Arabic/I18N_Arabic_StrToTime.php

Class Overview


This PHP class parse about any Arabic textual datetime description into a Unix timestamp


Author(s):

Copyright:

  • 2009 Khaled Al-Shamaa

Methods



Class Details

[line 89]
This PHP class parse about any Arabic textual datetime description into a Unix timestamp



Tags:

author:  Khaled Al-Shamaa <khaled.alshamaa@gmail.com>
copyright:  2009 Khaled Al-Shamaa
link:  http://www.ar-php.org
license:  LGPL


[ Top ]


Class Methods


static method strtotime [line 144]

static Integer strtotime( string $text, integer $now, [string $inputCharset = null], [object $main = null])

This method will parse about any Arabic textual datetime description into a Unix timestamp



Tags:

return:  Returns a timestamp on success, FALSE otherwise
author:  Khaled Al-Shamaa <khaled.alshamaa@gmail.com>
access:  public


Parameters:

string   $text   The string to parse, according to the GNU ยป Date Input Formats syntax (in Arabic).
integer   $now   The timestamp used to calculate the returned value.
string   $inputCharset   (optional) Input charset [utf-8|windows-1256|iso-8859-6] default value is NULL (use set input charset)
object   $main   Main Ar-PHP object to access charset converter options

[ Top ]


Documentation generated on Sat, 07 Nov 2009 19:53:00 +0200 by phpDocumentor 1.4.0