|
|
|
File: c:/web/jpeto2/jpeto/jpeto_page.php
JPETo - James's Publishing & Edition Tool - jpeto_objects
jpeto_page
jpeto_core | +-- jpeto_object | +-- jpeto_page
This class provides the page object
|
private class jpeto_page extends jpeto_object
This class provides the page object
|
| |
|
Methods inherited from jpeto_object |
| jpeto_object, 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 |
|
|
|
|
|
|
|
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, $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_Titlecurrent Title |
| string |
$j_Keywordscurrent Keywords |
| string |
$j_Descriptioncurrent Description |
| string |
$j_Stylesheetcurrent Stylesheet |
| string |
$Headcurrent Head (some data in the head of the page, should be used for additional META DATA or Javascript, e.g. rollover images) |
| string |
$Navcurrent Navigation (the main navigation part of the page) |
| string |
$Contentcurrent Content (the body of the page) |
| string |
$Subnavcurrent Subnav (at the end of the page) |
| boolean |
$AdminInterfaceStartedinternal flag |
|
|
|
|
|
|
|
Public Method Details |
jpeto_page |
|
public void jpeto_page( [ string $Language, string $Version ] )
|
| |
Constructor for jpeto_page
|
| 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 |
getIcon |
|
private string getIcon( )
|
| |
Returns a complete img-tag for the searchresult
Warning: documentation is missing.
|
| Returns |
string $html |
|
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 |
|
getAdminStart |
|
private void getAdminStart( )
|
| |
returns the JavaScript and the first part of the HTML form required for the AdminINterface
|
| Returns |
void |
|
getAdminStartJavaScript |
|
private string getAdminStartJavaScript( [ string $target, string $Language, string $Version ] )
|
| |
returns the JavaScript required for the Admininterface
|
| Parameter |
|
| string |
$target |
= >>""<< |
|
the target where the window should be opened |
|
|
| string |
$Language |
= >>""<< |
|
the current language |
|
|
| string |
$Version |
= >>""<< |
|
the current version |
|
| 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 |
|
map |
|
private void map( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
edt |
|
private void edt( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
unlink |
|
private void unlink( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
mov |
|
private void mov( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
cstat |
|
private void cstat( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
getHeader |
|
private void getHeader( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
|
Private Field Details |
$j_Title |
|
private string $j_Title
>>""<<
current Title
|
|
$j_Keywords |
|
private string $j_Keywords
>>""<<
current Keywords
|
|
$j_Description |
|
private string $j_Description
>>""<<
current Description
|
|
$j_Stylesheet |
|
private string $j_Stylesheet
>>""<<
current Stylesheet
|
|
$Head |
|
private string $Head
>>""<<
current Head (some data in the head of the page, should be used for additional META DATA or Javascript, e.g. rollover images)
|
|
$Nav |
|
private string $Nav
>>""<<
current Navigation (the main navigation part of the page)
|
|
$Content |
|
private string $Content
>>""<<
current Content (the body of the page)
|
|
$Subnav |
|
private string $Subnav
>>""<<
current Subnav (at the end of the page)
|
|
$AdminInterfaceStarted |
|
private boolean $AdminInterfaceStarted
>>false<<
internal flag
|
|
|
|
|
|
|
|
| PHPDoc 1.0beta |