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

Procedural File: install_helper_functions.php

Source Location: /admin/install_helper_functions.php



Page Details:



Tags:

copyright:  Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
copyright:  Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
link:  http://www.mantisbt.org








check_php_version [line 24]

void check_php_version( $p_version)



Parameters

   $p_version  
[ Top ]



db_null_date [line 45]

string db_null_date( )

legacy pre-1.2 date function used by schema.php

return a DB compatible date, representing a unixtime(0) + 1 second. Internally considered a NULL date




Tags:

return:  Formatted Date for DB insertion e.g. 1970-01-01 00:00:00 ready for database insertion


[ Top ]



db_unixtimestamp [line 59]

int db_unixtimestamp( [$p_date $p_date = null], [bool $p_gmt = false])

legacy pre-1.2 date function used by install_functions.php

generate a integer unixtimestamp of a date




Tags:

return:  unix timestamp of a date
todo:  review date handling


Parameters

bool   $p_gmt   whether to use GMT or current timezone (default false)
$p_date   $p_date   Date
[ Top ]



Documentation generated on Sun, 12 Dec 2010 23:50:34 +0900 by phpDocumentor 1.4.3
inserted by FC2 system