|
|
|
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 |
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
| PHPDoc 1.0beta |