Packageindex Classtrees Modulegroups Elementlist Report XML Files

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

Methods inherited from jpeto_core

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

Public Method Summary

void

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

Constructor for jpeto_page

Private Method Summary

string

getIcon()

Returns a complete img-tag for the searchresultWarning: documentation is missing.
void

mapObjectFields(array $Recordset)

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

getAdminStart()

returns the JavaScript and the first part of the HTML form required for the AdminINterface
string

getAdminStartJavaScript([ string $target, string $Language, string $Version ])

returns the JavaScript required for the Admininterface
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.
void

map()

Warning: documentation is missing.
void

edt()

Warning: documentation is missing.
void

unlink()

Warning: documentation is missing.
void

mov()

Warning: documentation is missing.
void

cstat()

Warning: documentation is missing.
void

getHeader()

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

current Title
string

$j_Keywords

current Keywords
string

$j_Description

current Description
string

$j_Stylesheet

current Stylesheet
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)
string

$Nav

current Navigation (the main navigation part of the page)
string

$Content

current Content (the body of the page)
string

$Subnav

current Subnav (at the end of the page)
boolean

$AdminInterfaceStarted

internal flag

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_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


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