PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms 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
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}