phpDocumentor date
[ class tree: date ] [ index: date ] [ all elements ]

Class: TIME

Source Location: /funzioni_data.inc

Class TIME

Class Overview

Classe che rappresenta un orario (ore e minuti)

Located in /funzioni_data.inc [line 378]

TIMEBASE
   |
   --TIME

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From TIMEBASE

TIMEBASE::$DB
TIMEBASE::$DB_ISO
TIMEBASE::$ISO
TIMEBASE::$ISO_SEARCH_Y
TIMEBASE::$REV
TIMEBASE::$REV_SEARCH_Y
TIMEBASE::$USER
TIMEBASE::$USER_SEARCH_Y

Inherited From TIMEBASE

TIMEBASE::any_2_ts()
Funzione in grado di trasformare un oggetto da qualunque formato a "timestamp esteso"
TIMEBASE::db_2_iso()
TIMEBASE::db_2_ts()
TIMEBASE::db_2_user()
TIMEBASE::iso_2_db()
TIMEBASE::iso_2_ts()
TIMEBASE::iso_2_user()
TIMEBASE::mktime()
Funzione che ritorna un timestamp semplice date le parti della data ricavate da strptime
TIMEBASE::ts_2_any()
Funzione in grado di trasformare un "timestamp esteso" in qualunque altro formato
TIMEBASE::ts_2_db()
TIMEBASE::ts_2_iso()
TIMEBASE::ts_2_user()
TIMEBASE::user_2_db()
TIMEBASE::user_2_iso()
TIMEBASE::user_2_ts()

[ Top ]
Method Summary
TIME   __construct()   Costruisce un orario per interagire con un certo dbms
void   any_2_ts()  
integer   minutes_2_ts()   Ritorna un timestamp di sistema partendo da un numero di minuti anche superiore a 60
void   mktime()  
void   ts_2_any()  

[ Top ]
Methods
Constructor __construct  [line 384]

  TIME __construct( string $db  )

Costruisce un orario per interagire con un certo dbms

Parameters:
string   $db:  FBIRD, MYSQL, MSSQL, ODBC, ...

API Tags:
Access:  public


[ Top ]
any_2_ts  [line 397]

  void any_2_ts( $any, $fmt, $search  )

Parameters:
   $any: 
   $fmt: 
   $search: 

API Tags:
Access:  protected


Redefinition of:
TIMEBASE::any_2_ts()
Funzione in grado di trasformare un oggetto da qualunque formato a "timestamp esteso"

[ Top ]
minutes_2_ts  [line 424]

  integer minutes_2_ts( integer $minutes  )

Ritorna un timestamp di sistema partendo da un numero di minuti anche superiore a 60

Parameters:
integer   $minutes: 

API Tags:
Access:  public


[ Top ]
mktime  [line 414]

  void mktime( $parts  )

Parameters:
   $parts: 

API Tags:
Access:  protected


Redefinition of:
TIMEBASE::mktime()
Funzione che ritorna un timestamp semplice date le parti della data ricavate da strptime

[ Top ]
ts_2_any  [line 409]

  void ts_2_any( $ts, $fmt, $search  )

Parameters:
   $ts: 
   $fmt: 
   $search: 

API Tags:
Access:  protected


Redefinition of:
TIMEBASE::ts_2_any()
Funzione in grado di trasformare un "timestamp esteso" in qualunque altro formato

[ Top ]

Documentation generated on Thu, 25 Sep 2008 23:29:25 +0200 by phpDocumentor 1.4.0