Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: c:/web/jpeto2/jpeto/jpeto_tms_worktime.php
JPETo - James's Publishing & Edition Tool - jpeto_objects

jpeto_tms_worktime

jpeto_core
   |
  +-- jpeto_object
     |
    +-- jpeto_tms_worktime

This class provides the tms_worktime object

 

private class jpeto_tms_worktime extends jpeto_object

This class provides the tms_worktime object

 

Methods inherited from jpeto_object

jpeto_object, geticon, createadmininterface, getfields, getsubtype, getjpetotypedetails, getjpetotype, getjoin, isonline, get_jpeto_object, numchildren, isexpired, islocked, lock, unlock, assigncontent, striplastlinebreak, get_next_jpeto_object, mapfields, maptypefields, newuniqueid, debug, delete, getonlinestatusimage, getfromurlkey, gettourlkey, addadminlink, iscached, getcachefilename, tocache, getcache, purgecache, store, getdefaultvalues, addsubobject, isrestricted, todetailhtml, xmlformat, xmlelement, toxml, getboundary, getcontentid, toplaintext, getmaildata, upgrade, getorigin

Methods inherited from jpeto_core

jpeto_core, getkey, getuniqueidfromkey, getlanguagefromkey, getversionfromkey, conv, translate, reconv

Public Method Summary

void

jpeto_tms_worktime([ string $Language, string $Version ])

Constructor for jpeto_tms_worktime

Private Method Summary

void

mapObjectFields(array $Recordset)

Maps the fields of the given recordset to theWarning: documentation is missing.
void

getWorkTimes(array $UserArray, $StartDate, $EndDate)

void

updateObject()

updates the current object in the subtableWarning: documentation is missing.
void

insertObject()

inserts the current object in the subtableWarning: documentation is missing.
void

getWorkTime( $UserID, $StartDate, $EndDate)

Warning: documentation is missing.
void

getHeader()

Warning: documentation is missing.
void

toHTML()

returns the current object rendered as htmlWarning: documentation is missing.
void

getFooter()

Warning: documentation is missing.

Fields inherited from jpeto_object

$j_uniqueid, $o_uniqueid, $o_language, $o_version, $j_jpetotype, $j_onlinestart, $j_onlineend, $j_isonline, $j_owner, $j_createdon, $j_lastmodified, $j_comments, $j_expires, $j_restrictions, $j_lockedby, $j_lockstart, $j_name, $j_classname, $j_subtable, $j_accesslevel, $j_enabled, $j_timeless, $j_project, $extraquery, $j_sortpos, $j_prevjpetotype, $j_nextjpetotype, $cachefile, $content, $p_recordset, $p_pointer

Fields inherited from jpeto_core

$j_language, $j_version, $j_jpetotype, $o_jpetotype, $adminmode, $islast, $isfirst, $recordset, $pointer, $subtype, $j_parentobject

Private Field Summary

string

$Interface

Title of the (Admin-) interface file
string

$j_WorkDay

WorkDay
string

$j_ProjectNumber

ProjectNumber
string

$j_ProjectPhase

ProjectPhase
float

$j_Hours

Hours worked
string

$j_Description

Description of the worktime
string

$order

Column to order by

Included files inherited from jpeto_object

jpeto/jpeto_core.php, jpeto/jpeto_user.php, jpeto/jpeto_mapper.php, j_classname.".php">jpeto/".$subobject->j_classname.".php, j_classname.".php">jpeto/".$tmp->j_classname.".php

Included files inherited from jpeto_core

jpeto/jpeto_config.php, jpeto/jpeto_util.php, jpeto/jpeto_cache_manager.php

Included files Summary, Type: include_once

jpeto/jpeto_object.php Warning: documentation is missing.
jpeto/jpeto_tms_user.php Warning: documentation is missing.
jpeto/jpeto_tms_calendar.php Warning: documentation is missing.

Public Method Details

jpeto_tms_worktime

public void jpeto_tms_worktime( [ string $Language, string $Version ] )

  Constructor for jpeto_tms_worktime

Parameter
string $Language = >>"DE"<<
sets the current language (Default: DE)
string $Version = >>"O"<<
sets the current version (Default: O = Online)
Returns void


Private Method Details

mapObjectFields

private void mapObjectFields( array $Recordset )

  Maps the fields of the given recordset to the
class variables

Warning: documentation is missing.

Parameter
array $Recordset
the Recordset given to map to the variables
Returns void


getWorkTimes

private void getWorkTimes( array $UserArray, $StartDate, $EndDate )

 

Parameter
array $UserArray
Array of UserIDs
$StartDate
Warning: documentation is missing.
$EndDate
Warning: documentation is missing.
Returns void


updateObject

private void updateObject( )

  updates the current object in the subtable

Warning: documentation is missing.

Returns void


insertObject

private void insertObject( )

  inserts the current object in the subtable

Warning: documentation is missing.

Returns void


getWorkTime

private void getWorkTime( $UserID, $StartDate, $EndDate )

 

Warning: documentation is missing.

Parameter
$UserID
Warning: documentation is missing.
$StartDate
Warning: documentation is missing.
$EndDate
Warning: documentation is missing.
Returns void


getHeader

private void getHeader( )

 

Warning: documentation is missing.

Returns void


toHTML

private void toHTML( )

  returns the current object rendered as html
This is just a dummy that has to be overwritten by the extending class,depending on the way of presentation

Warning: documentation is missing.

Returns void


getFooter

private void getFooter( )

 

Warning: documentation is missing.

Returns void


Private Field Details

$Interface

private string $Interface

>>"jpeto_tms_worktime.php"<<

Title of the (Admin-) interface file


$j_WorkDay

private string $j_WorkDay

>>""<<

WorkDay


$j_ProjectNumber

private string $j_ProjectNumber

>>""<<

ProjectNumber


$j_ProjectPhase

private string $j_ProjectPhase

>>""<<

ProjectPhase


$j_Hours

private float $j_Hours

>><<

Hours worked


$j_Description

private string $j_Description

>>""<<

Description of the worktime


$order

private string $order

>>"WorkDay"<<

Column to order by


Included Files, Type: include_once

jpeto/jpeto_object.php

include_once( jpeto/jpeto_object.php )



jpeto/jpeto_tms_user.php

include_once( jpeto/jpeto_tms_user.php )



jpeto/jpeto_tms_calendar.php

include_once( jpeto/jpeto_tms_calendar.php )




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta