/** * Return default time report * * @param void * @return TimeReport */ function findDefault() { return TimeReports::find(array('conditions' => array('is_default = ?', true), 'one' => true)); }