DBFieldDate Class Reference
[Model]
A date only field in DB. More...
Inheritance diagram for DBFieldDate:
 
Protected Member Functions | 
|
| format_date_value ($value) | |
| Formats a value for use in DB.
 | 
|
| get_db_now_constant () | |
| Returns fucntion or constant to set current
time in DB (like NOW()
or CURRENT_TIMESTAMP).  | 
|
Detailed Description
A date only field in DB.
Definition at line 10 of file dbfield.date.cls.php.
Member Function Documentation
| DBFieldDate::format_date_value | ( | $ | value | ) | [protected] | 
Formats a value for use in DB.
- Parameters:
 - 
datetime $value  
- Returns:
 - string
 
Reimplemented from DBFieldDateTime.
Definition at line 26 of file dbfield.date.cls.php.
00026 { 00027 return $this->quote(GyroDate::mysql_date($value, false)); 00028 }
| DBFieldDate::get_db_now_constant | ( | ) | [protected] | 
Returns fucntion or constant to set current time in DB (like NOW() or CURRENT_TIMESTAMP).
- Returns:
 - string
 
Reimplemented from DBFieldDateTime.
Definition at line 16 of file dbfield.date.cls.php.
The documentation for this class was generated from the following file:
- gyro/core/model/base/fields/dbfield.date.cls.php
 
