Is Naked Day coming soon?
static
BOOLEAN
coming_soon
()
Output a HTML comment where CSS would normally have been
static
void
css_replacement
()
Get the day of month in which naked day will occur
static
INTEGER
day
()
How long until naked day (in seconds)?
static
INTEGER
how_long_til
()
Initialize the timer and trigger its calculations
static
void
init
([BOOLEAN $live_config = true], [INTEGER $d = null], [INTEGER $m = null], [INTEGER $y = null], [BOOLEAN $international_day = true], [STRING $message = ''], [STRING $css_replacement = ''])
-
BOOLEAN
$live_config: (optional) flag whether or not to connect to naked.dustindiaz.com for live configuration data
-
INTEGER
$d: (optional) day of month on which Naked Day will occur
-
INTEGER
$m: (optional) number of month in which Naked Day will occur
-
INTEGER
$y: (optional) year in which Naked Day will occur
-
BOOLEAN
$international_day: (optional) full 48 hour period or local 24?
-
STRING
$message: (optional) text/html to output on call to message()
-
STRING
$css_replacement: (optional) text/html to output on call to css_replacement()
Retrieve and process live configuration data
static
BOOLEAN
live_config
()
Output a message about naked day
static
void
message
()
Get the number of month in which naked day will occur
static
INTEGER
month
()
Enter description here...
static
BOOLEAN
over
()
Is Naked Day today?
static
BOOLEAN
today
()
Verify the data after initialization to ensure it is valid
static
void
verify_init
()
Get the year in which naked day will occur
static
INTEGER
year
()