[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] notes/class.base.php, 1.1.2.7
From: |
nomail |
Subject: |
[Phpgroupware-cvs] notes/class.base.php, 1.1.2.7 |
Date: |
Fri, 21 May 2004 19:10:30 -0000 |
Update of /notes
Modified Files:
Branch: proposal-branch
class.base.php
date: 2004/04/25 07:22:23; author: jengo; state: Exp; lines: +3 -3
Log Message:
Added 3 new functions for returning a records creation date and modified date.
Apps won't have to have a seperate field for this, since the API will handle it
=====================================================================
Index: notes/class.base.php
diff -u notes/class.base.php:1.1.2.6 notes/class.base.php:1.1.2.7
--- notes/class.base.php:1.1.2.6 Wed Apr 21 05:03:37 2004
+++ notes/class.base.php Sun Apr 25 07:22:23 2004
@@ -140,8 +140,8 @@
'category_id' => $db->fields['note_category'],
'content' => $db->fields['note_content'],
'content_title' => $content_title,
- 'created' =>
strftime('%x',$db->unixtimestamp($db->fields['note_created'])) . date(' h:i:s
a',$db->unixtimestamp($db->fields['note_created'])),
- 'modified' =>
strftime('%x',$db->unixtimestamp($db->fields['note_modified'])) . date(' h:i:s
a',$db->unixtimestamp($db->fields['note_modified']))
+ 'created' =>
execMethod('api.history._record_creation_date','notes.base.' .
$db->fields['note_id']),
+ 'modified' =>
execMethod('api.history._record_modified_date','notes.base.' .
$db->fields['note_id'])
);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] notes/class.base.php, 1.1.2.7,
nomail <=