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