Packageindex Classtrees Modulegroups Elementlist Report XML Files

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

jpeto_table

jpeto_core
   |
  +-- jpeto_object
     |
    +-- jpeto_table

This class provides the table object

 

private class jpeto_table extends jpeto_object

This class provides the table object

 

Methods inherited from jpeto_object

jpeto_object, geticon, getfields, getsubtype, getjpetotypedetails, getjpetotype, getjoin, isonline, get_jpeto_object, numchildren, isexpired, islocked, lock, unlock, 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_table([ string $Language, string $Version ])

Constructor for jpeto_table

Private Method Summary

void

mapObjectFields(array $Recordset)

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

assignContent(object jpeto_object $Object)

This function assigns the content identified by it's JpetoType to different Slots/etc.Warning: documentation is missing.
string

getSortHeader()

this function returns the SortHeader
void

createAdminInterface(int &$AdminInterface)

sets the editable properties in the AdminInterfaceWarning: documentation is missing.
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

toHTML()

returns the current object rendered as htmlWarning: 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, $order, $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

$j_Title

Title of the Table
integer

$j_CellPad

Cellpadding
integer

$j_CellSpc

Cellspacing
string

$j_SortCol

Column to sort By
integer

$j_ManSort

Manual Sorting
integer

$j_WidthA

Width A
integer

$j_WidthB

Width B
integer

$j_WidthC

Width C
integer

$j_WidthD

Width D
integer

$j_WidthE

Width E
integer

$j_WidthF

Width F

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.

Public Method Details

jpeto_table

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

  Constructor for jpeto_table

Parameter
string $Language = >>""<<
sets the current language
string $Version = >>""<<
sets the current version
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


assignContent

private void assignContent( object jpeto_object $Object )

  This function assigns the content identified by it's JpetoType to different Slots/etc.

Warning: documentation is missing.

Parameter
object jpeto_object $Object
Returns void


getSortHeader

private string getSortHeader( )

  this function returns the SortHeader

Returns string $html


createAdminInterface

private void createAdminInterface( int &$AdminInterface )

  sets the editable properties in the AdminInterface

Warning: documentation is missing.

Parameter
int &$AdminInterface
erface &$AdminInterface
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


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


Private Field Details

$j_Title

private string $j_Title

>>""<<

Title of the Table


$j_CellPad

private integer $j_CellPad

>><<

Cellpadding


$j_CellSpc

private integer $j_CellSpc

>><<

Cellspacing


$j_SortCol

private string $j_SortCol

>>""<<

Column to sort By


$j_ManSort

private integer $j_ManSort

>><<

Manual Sorting


$j_WidthA

private integer $j_WidthA

>><<

Width A


$j_WidthB

private integer $j_WidthB

>><<

Width B


$j_WidthC

private integer $j_WidthC

>><<

Width C


$j_WidthD

private integer $j_WidthD

>><<

Width D


$j_WidthE

private integer $j_WidthE

>><<

Width E


$j_WidthF

private integer $j_WidthF

>><<

Width F


Included Files, Type: include_once

jpeto/jpeto_object.php

include_once( jpeto/jpeto_object.php )




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta