/apps/time/domain/Entry.php

http://zoop.googlecode.com/ · PHP · 8 lines · 8 code · 0 blank · 0 comment · 0 complexity · 25fcf30b880c310d98eabd87dcfe7c46 MD5 · raw file

  1. <?php
  2. class Entry extends DbObject
  3. {
  4. function stop()
  5. {
  6. SqlUpdateRow("update entry set endtime = now() where id = :id", array('id' => $this->id));
  7. }
  8. }