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

Class: ArMktime

Source Location: /sub/ArMktime.class.php

Class Overview


This PHP class is an Arabic customization for PHP mktime function


Author(s):

Copyright:

  • 2009 Khaled Al-Shamaa

Methods



Class Details

[line 121]
This PHP class is an Arabic customization for PHP mktime function



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


method mktime [line 140]

integer mktime( integer $hour, integer $minute, integer $second, integer $hj_month, integer $hj_day, integer $hj_year, [integer $correction = 0])

This will return current Unix timestamp for given Hegri date (Islamic calendar)



Tags:

return:  Returns the current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)
author:  Khaled Al-Shamaa <khaled.alshamaa@gmail.com>
access:  public


Parameters:

integer   $hour   Time hour
integer   $minute   Time minute
integer   $second   Time second
integer   $hj_month   Hegri month (Islamic calendar)
integer   $hj_day   Hegri day (Islamic calendar)
integer   $hj_year   Hegri year (Islamic calendar)
integer   $correction   To apply correction factor (+/- 1-2) to standard hijri calendar

[ Top ]


Documentation generated on Tue, 18 Aug 2009 00:12:49 +0300 by phpDocumentor 1.4.0