Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
timesheet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dotproject
timesheet
Commits
d77d2183
Commit
d77d2183
authored
Mar 25, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup tabs and replace them with spaces.
parent
60badb2a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
184 additions
and
183 deletions
+184
-183
timesheet.class.php
timesheet.class.php
+184
-183
No files found.
timesheet.class.php
View file @
d77d2183
<?php
<?php
/*
/*
* Copyright (C) 2007, M2X
* Copyright (C) 2007
-2008
, M2X
*
*
* Authors: Jean-Paul Saman
* Authors: Jean-Paul Saman
*
*
...
@@ -28,23 +28,24 @@
...
@@ -28,23 +28,24 @@
* @package dotProject
* @package dotProject
* @subpackage modules
* @subpackage modules
* @version $Revision: 1.0 $
* @version $Revision: 1.0 $
*/
*/
// include the powerful parent class that we want to extend for timesheet
// include the powerful parent class that we want to extend for timesheet
require_once
(
$AppUI
->
getSystemClass
(
'dp'
)
);
// use the dPFramework for easy inclusion of this class here
// use the dPFramework for easy inclusion of this class here
require_once
(
$AppUI
->
getSystemClass
(
'dp'
)
);
/**
/**
* The Timesheet Class
* The Timesheet Class
*/
*/
class
CTimesheet
extends
CDpObject
{
class
CTimesheet
extends
CDpObject
{
// link variables to the timesheet object (according to the existing columns in the database table timesheet)
// link variables to the timesheet object (according to the existing columns in the database table timesheet)
//use NULL for a NEW object, so the database automatically assigns an unique id by 'NOT NULL
'-functionality
//use null for a new object, so the database automatically assigns an unique id by 'not null
'-functionality
var
$timesheet_id
=
NULL
;
var
$timesheet_id
=
null
;
var
$timesheet_period
=
NULL
;
var
$timesheet_period
=
null
;
var
$timesheet_status
=
NULL
;
var
$timesheet_status
=
null
;
var
$timesheet_date
=
NULL
;
var
$timesheet_date
=
null
;
var
$timesheet_creator
=
NULL
;
var
$timesheet_creator
=
null
;
var
$timesheet_worked
=
NULL
;
var
$timesheet_worked
=
null
;
// the constructor of the CTimesheet class, always combined with the table name and the unique key of the table
// the constructor of the CTimesheet class, always combined with the table name and the unique key of the table
function
CTimesheet
()
{
function
CTimesheet
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment