- Description
-
Class trees
Index of elements
Todo List
Interfaces
Phpfox_Cache_Interface
Phpfox_Database_Interface
Phpfox_Gateway_Interface
Phpfox_Image_Interface
Phpfox_Mail_Interface
Classes
Database_Driver_Mssql
Database_Driver_Oracle
Database_Driver_Postgres
Database_Driver_Sqlite
Phpfox
Phpfox_Ajax
Phpfox_Api
Phpfox_Archive
Phpfox_Archive_Export
Phpfox_Archive_Extension_Tar
Phpfox_Archive_Extension_Xml
Phpfox_Archive_Extension_Zip
Phpfox_Archive_Import
Phpfox_Archive_Support
Phpfox_Cache
Phpfox_Cache_Abstract
Phpfox_Cache_Storage_File
Phpfox_Cache_Storage_Memcache
Phpfox_Cdn
Phpfox_Cdn_Abstract
Phpfox_Cdn_Module_S3
Phpfox_Component
Phpfox_Cron
Phpfox_Database
Phpfox_Database_Dba
Phpfox_Database_Driver_Mysql
Phpfox_Database_Driver_Mysqli
Phpfox_Database_Export
Phpfox_Database_Support
Phpfox_Date
Phpfox_Debug
Phpfox_Diff_Md5
Phpfox_Editor
Phpfox_Error
Phpfox_File
Phpfox_File_Minimize
Phpfox_Ftp
Phpfox_Gateway
Phpfox_Gateway_Api_2checkout
Phpfox_Gateway_Api_Paypal
Phpfox_Hash
Phpfox_Image
Phpfox_Image_Abstract
Phpfox_Image_Helper
Phpfox_Image_Library_Gd
Phpfox_Locale
Phpfox_Mail
Phpfox_Mail_Driver_Phpmailer_Mail
Phpfox_Mail_Driver_Phpmailer_Smtp
Phpfox_Module
Phpfox_Pager
Phpfox_Parse_Bbcode
Phpfox_Parse_Css
Phpfox_Parse_Format
Phpfox_Parse_Input
Phpfox_Parse_Output
Phpfox_Parse_Wiki
Phpfox_Plugin
Phpfox_Process
Phpfox_Request
Phpfox_Search
Phpfox_Search_Inline
Phpfox_Server
Phpfox_Service
Phpfox_Session
Phpfox_Session_Handler
Phpfox_Session_Handler_Default
Phpfox_Session_Handler_File
Phpfox_Session_Handler_Memcache
Phpfox_Session_Storage_Cookie
Phpfox_Session_Storage_Session
Phpfox_Setting
Phpfox_Spam
Phpfox_Spam_Hash
Phpfox_Template
Phpfox_Url
Phpfox_Validator
Phpfox_Xml_Builder
Phpfox_Xml_Parser
Functions
d
e
p
Files
2checkout.class.php
abstract.class.php
abstract.class.php
abstract.class.php
ajax.class.php
api.class.php
archive.class.php
bbcode.class.php
builder.class.php
cache.class.php
cdn.class.php
component.class.php
cookie.class.php
cron.class.php
css.class.php
database.class.php
date.class.php
dba.class.php
debug.class.php
default.class.php
editor.class.php
error.class.php
export.class.php
export.class.php
file.class.php
file.class.php
file.class.php
format.class.php
ftp.class.php
gateway.class.php
gd.class.php
handler.class.php
hash.class.php
hash.class.php
helper.class.php
image.class.php
import.class.php
inline.class.php
input.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
locale.class.php
mail.class.php
mail.class.php
md5.class.php
memcache.class.php
memcache.class.php
minimize.class.php
module.class.php
mssql.class.php
mysql.class.php
mysqli.class.php
oracle.class.php
output.class.php
pager.class.php
parser.class.php
paypal.class.php
phpfox.class.php
plugin.class.php
postgres.class.php
process.class.php
request.class.php
s3.class.php
search.class.php
server.class.php
service.class.php
session.class.php
session.class.php
setting.class.php
smtp.class.php
spam.class.php
sqlite.class.php
support.class.php
support.class.php
tar.class.php
template.class.php
url.class.php
validator.class.php
wiki.class.php
xml.class.php
zip.class.php
Template-
Classes
Phpfox_Template_Cache
Files
cache.class.php
Phpfox_Date
Handles all time/date related logic for phpFox.
Example to get a current users timezone they are in:
Example of our usage of mktime:
Located in /include/library/phpfox/date/date.class.php (line 26)
static getTimeZone (line 65)
Gets the current time zone for a person browsing the site. If they have selected a time zone it will return their value, if not it will return the sites default time zone.
- bool $bDst: Take DST into account. Set to false to disable DST.
static _isDst (line 546)
Check to see if we are to use DST support.
Constructor __construct (line 52)
Class constructor
amToPm (line 374)
Converts PM time stamp into military time.
- int $iTime: PM time
convertFromGmt (line 435)
Converts the time passed based on the offset passed from GMT
- int $iTime: Current time stamp to convert from GMT
- string $sOffset: Offset of the time zone from GMT
convertTime (line 461)
Converts a time stamp into a human readable phrase.
- int $iTime: Time stamp to convert
- string $sDefault: Default phrase to use with the display of the time stamp
convertToGmt (line 447)
Converts the time passed based on the offset passed into GMT
- int $iTime: Current time stamp to convert into GMT
- string $sOffset: Offset of the time zone to GMT
daysToDate (line 121)
Calculates how many days there are between 2 specific dates.
- int $iTimeStart: mktime of the starting date. If null we take current time
- int $iTimeEnd: mktime of the ending date
- bool $bRound: TRUE will round the calculation and FALSE will return its full calculation
getGmtOffset (line 510)
Gets the offset from the current timezone being used to GMT.
- int $iTime: Current time stamp to check
getMonth (line 166)
Gets a specific month and returns the phrase based on the language package being used
- int $iMonth: The int value of the month to return, where 1 is January
getSaturday (line 393)
Gets the first saturday of the coming week
getSunday (line 403)
Gets the first sunday of the coming week
getWeekEnd (line 414)
Finds the upcoming weekend
- int $iTime: By default we use the current time, however you can pass a unix time stamp to check when the next weekend is from that date.
isLeapYear (line 349)
Checks if the current year passed is a leap year.
- int $iYear: The year to check.
lastDayOfMonth (line 104)
Gets the last day of month.
- int $iMonth: The month to get the last day of
- int $iYear: You can specify a year, if not we find the current year to work with
mktime (line 226)
PHP has their own mktime() function, however there are issues related to dates before the year 1901 and the year 2038. This function extends the PHP mktime() function to help resolve those issues. The logic and outcome is still the same as mktime()
- int $iHour: The number of the hour.
- int $iMinute: The number of the minute.
- int $iSecond: The number of seconds past the minute.
- int $iMonth: The number of the month.
- int $iDay: The number of the month.
- int $iYear: The number of the year.
modifyHours (line 522)
Modify the current hour of a time stamp based on DST settings
- string $sTime: Time stamp
- bool $bAmPm: Not being used at the moment
Documentation generated on Tue, 28 Sep 2010 10:36:38 +0200 by phpDocumentor 1.4.0a2