Packageindex Classtrees Modulegroups Elementlist Report XML Files

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

jpeto_shoppingcart

jpeto_core
   |
  +-- jpeto_object
     |
    +-- jpeto_container
       |
      +-- jpeto_shoppingcart

This class provides the container object

 

private class jpeto_shoppingcart extends jpeto_container

This class provides the container object

 

Methods inherited from jpeto_container

jpeto_container, geticon, mapobjectfields, createadmininterface, updateobject, insertobject

Methods inherited from jpeto_object

jpeto_object, geticon, createadmininterface, getfields, getsubtype, getjpetotypedetails, getjpetotype, getjoin, isonline, get_jpeto_object, numchildren, isexpired, islocked, lock, unlock, get_next_jpeto_object, mapfields, maptypefields, mapobjectfields, newuniqueid, debug, delete, getonlinestatusimage, getfromurlkey, gettourlkey, addadminlink, iscached, getcachefilename, tocache, getcache, purgecache, store, getdefaultvalues, updateobject, insertobject, 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_shoppingcart([ string $Language, String $Version ])

Constructor for jpeto_shoppingcart

Private Method Summary

void

assignContent(string $Object)

Assigns the different Objects to the current ObjectWarning: documentation is missing.
Object

getProductObject()

This function returns the product object.
void

stripLastLinebreak()

removes the linebreak after the last objectWarning: documentation is missing.
void

setUser( $user)

Warning: documentation is missing.
void

getValidationJavaScript()

Warning: documentation is missing.
void

checkorderform()

Warning: documentation is missing.
void

cl_fields()

Warning: documentation is missing.
void

validate()

Warning: documentation is missing.
void

getOrderFormHTML()

Warning: documentation is missing.
void

toHTML()

returns the current object rendered as htmlWarning: documentation is missing.
void

ccrypt( $creditcardnumber)

Warning: documentation is missing.

Fields inherited from jpeto_container

$j_title, $j_url, $j_target

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

$body

integer

$sum

integer

$hsize

string

$borderColor

string

$bgColor

string

$class

string

$user

boolean

$creditcard_enabled

Included files inherited from jpeto_container

jpeto/jpeto_object.php

Included files inherited from jpeto_object

jpeto/jpeto_core.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_container.php Warning: documentation is missing.
jpeto/jpeto_user.php Warning: documentation is missing.

Public Method Details

jpeto_shoppingcart

public void jpeto_shoppingcart( [ string $Language, String $Version ] )

  Constructor for jpeto_shoppingcart

Parameter
string $Language = >>"DE"<<
language of the current cart
String $Version = >>"O"<<
version of the current cart
Returns void


Private Method Details

assignContent

private void assignContent( string $Object )

  Assigns the different Objects to the current Object

Warning: documentation is missing.

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


getProductObject

private Object getProductObject( )

  This function returns the product object.
Override it with your project's product

Returns Object


stripLastLinebreak

private void stripLastLinebreak( )

  removes the linebreak after the last object

Warning: documentation is missing.

Returns void


setUser

private void setUser( $user )

 

Warning: documentation is missing.

Parameter
$user
Warning: documentation is missing.
Returns void


getValidationJavaScript

private void getValidationJavaScript( )

 

Warning: documentation is missing.

Returns void


checkorderform

private void checkorderform( )

 

Warning: documentation is missing.

Returns void


cl_fields

private void cl_fields( )

 

Warning: documentation is missing.

Returns void


validate

private void validate( )

 

Warning: documentation is missing.

Returns void


getOrderFormHTML

private void getOrderFormHTML( )

 

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


ccrypt

private void ccrypt( $creditcardnumber )

 

Warning: documentation is missing.

Parameter
$creditcardnumber
Warning: documentation is missing.
Returns void


Private Field Details

$body

private string $body

>>""<<



$sum

private integer $sum

>><<



$hsize

private integer $hsize

>>723<<



$borderColor

private string $borderColor

>>"#006600"<<



$bgColor

private string $bgColor

>>"#FFFFC0"<<



$class

private string $class

>>"txt"<<



$user

private string $user

>>""<<



$creditcard_enabled

private boolean $creditcard_enabled

>>true<<



Included Files, Type: include_once

jpeto/jpeto_container.php

include_once( jpeto/jpeto_container.php )



jpeto/jpeto_user.php

include_once( jpeto/jpeto_user.php )




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta