PageRenderTime 23ms CodeModel.GetById 19ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/apps/time/domain/Entry.php

http://zoop.googlecode.com/
PHP | 8 lines | 8 code | 0 blank | 0 comment | 0 complexity | 25fcf30b880c310d98eabd87dcfe7c46 MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-2.1
1<?php
2class Entry extends DbObject
3{
4	function stop()
5	{
6		SqlUpdateRow("update entry set endtime = now() where id = :id", array('id' => $this->id));
7	}
8}