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

Class: ArStrToTime

Source Location: /sub/ArStrToTime.class.php

Class Overview


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


Author(s):

Copyright:

  • 2006-2010 Khaled Al-Shamaa

Variables

Methods



Class Details

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



Tags:

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


[ Top ]


Class Variables

static $hj = array()

[line 95]



Tags:

access:  protected

Type:   mixed


[ Top ]

static $strtotimeReplace = array()

[line 98]



Tags:

access:  protected

Type:   mixed


[ Top ]

static $strtotimeSearch = array()

[line 97]



Tags:

access:  protected

Type:   mixed


[ Top ]

$strtotimeInput =  'utf-8'

[line 104]

"strtotime" method input charset



Tags:

access:  public

Type:   String


[ Top ]

$strtotimeVars = array('text')

[line 110]

Name of the textual "strtotime" method parameters



Tags:

access:  public

Type:   Array


[ Top ]



Class Methods


static method strtotime [line 141]

static Integer strtotime( string $text, integer $now)

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.

[ Top ]

constructor __construct [line 115]

ArStrToTime __construct( )

Loads initialize values



Tags:

access:  public


[ Top ]


Documentation generated on Sat, 14 Aug 2010 13:23:58 -0700 by phpDocumentor 1.4.0