Packageindex Classtrees Modulegroups Elementlist Report XML Files

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

jpeto_tms_travel

jpeto_core
   |
  +-- jpeto_object
     |
    +-- jpeto_tms_travel

This class provides the tms_travel object

 

private class jpeto_tms_travel extends jpeto_object

This class provides the tms_travel 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_travel([ string $Language, string $Version ])

Constructor for jpeto_tms_travel

Private Method Summary

void

mapObjectFields(array $Recordset)

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

getTravels(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

getTravel( $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.
void

getNewTravelNumber()

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
integer

$j_TravelNumber

TravelNumber
string

$j_StartTime

StartTime
string

$j_EndTime

EndTime
string

$j_Destination

Destination
float

$j_Distance

Distance
float

$j_Rate

Rate
float

$j_Allowance

Allowance
string

$j_Description

Description of the travel
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.

Public Method Details

jpeto_tms_travel

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

  Constructor for jpeto_tms_travel

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


getTravels

private void getTravels( 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


getTravel

private void getTravel( $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


getNewTravelNumber

private void getNewTravelNumber( )

 

Warning: documentation is missing.

Returns void


Private Field Details

$Interface

private string $Interface

>>"jpeto_tms_travel.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_TravelNumber

private integer $j_TravelNumber

>><<

TravelNumber


$j_StartTime

private string $j_StartTime

>>"08:00"<<

StartTime


$j_EndTime

private string $j_EndTime

>>"18:00"<<

EndTime


$j_Destination

private string $j_Destination

>>""<<

Destination


$j_Distance

private float $j_Distance

>><<

Distance


$j_Rate

private float $j_Rate

>><<

Rate


$j_Allowance

private float $j_Allowance

>><<

Allowance


$j_Description

private string $j_Description

>>""<<

Description of the travel


$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 )




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta