Packageindex Classtrees Modulegroups Elementlist Report XML Files

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

jpeto_questionnaire

jpeto_core
   |
  +-- jpeto_object
     |
    +-- jpeto_questionnaire

This class provides the jpeto_questionnaire object

 

private class jpeto_questionnaire extends jpeto_object

This class provides the jpeto_questionnaire object

 

Methods inherited from jpeto_object

jpeto_object, 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, 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_questionnaire([ string $Language, string $Version ])

Constructor for jpeto_questionnaire

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

assignContent(string $Object)

Assigns the properties to different slotsWarning: documentation is missing.
string

toStartHTML()

returns a HTML formatted questionnaire start
string

toHTML()

returns a HTML formatted questionnaireWarning: documentation is missing.
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

getDefaultValues()

gets default Values for (not set) parametersWarning: 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

current Title
string

$j_Description

current Description
string

$j_Timeout

current Timeout
integer

$j_Randomize

current Randomize
integer

$j_NumQuestions

current NumQuestions
integer

$totalQuestions

current totalQuestions
integer

$DisplayQuestion

the index of the current question

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_questionnaire

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

  Constructor for jpeto_questionnaire

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


assignContent

private void assignContent( string $Object )

  Assigns the properties to different slots

Warning: documentation is missing.

Parameter
string $Object
is a jpeto_object, not a string (phpdoc...)
Returns void


toStartHTML

private string toStartHTML( )

  returns a HTML formatted questionnaire start

Returns string $html


toHTML

private string toHTML( )

  returns a HTML formatted questionnaire

Warning: documentation is missing.

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


getDefaultValues

private void getDefaultValues( )

  gets default Values for (not set) parameters

Warning: documentation is missing.

Returns void


Private Field Details

$j_Title

private string $j_Title

>>""<<

current Title


$j_Description

private string $j_Description

>>""<<

current Description


$j_Timeout

private string $j_Timeout

>>"1200"<<

current Timeout


$j_Randomize

private integer $j_Randomize

>><<

current Randomize


$j_NumQuestions

private integer $j_NumQuestions

>><<

current NumQuestions


$totalQuestions

private integer $totalQuestions

>><<

current totalQuestions


$DisplayQuestion

private integer $DisplayQuestion

>><<

the index of the current question


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