/apps/time/domain/Entry.php
http://zoop.googlecode.com/ · PHP · 8 lines · 8 code · 0 blank · 0 comment · 0 complexity · 25fcf30b880c310d98eabd87dcfe7c46 MD5 · raw file
- <?php
- class Entry extends DbObject
- {
- function stop()
- {
- SqlUpdateRow("update entry set endtime = now() where id = :id", array('id' => $this->id));
- }
- }