Stud.IP  2.5 Revision
Cart Class Reference
Collaboration diagram for Cart:
Collaboration graph

Public Member Functions

 check ($art)
 
 reset ()
 
 add_item ($art, $num)
 
 remove_item ($art, $num)
 
 set_item ($art, $num)
 
 num_items ()
 
 tot_arts ()
 
 show_all ()
 
 start ()
 
 show_cart_open ()
 
 show_cart_close ()
 
 show_item ($art, $num)
 
 show_empty_cart ()
 

Data Fields

 $classname = "Cart"
 
 $persistent_slots = array("item", "currentItem")
 
 $item = array()
 
 $currentItem = 1
 

Member Function Documentation

◆ add_item()

add_item (   $art,
  $num 
)
Here is the call graph for this function:

◆ check()

check (   $art)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ num_items()

num_items ( )
Here is the caller graph for this function:

◆ remove_item()

remove_item (   $art,
  $num 
)
Here is the call graph for this function:

◆ reset()

reset ( )
Here is the caller graph for this function:

◆ set_item()

set_item (   $art,
  $num 
)
Here is the call graph for this function:

◆ show_all()

show_all ( )
Here is the call graph for this function:

◆ show_cart_close()

show_cart_close ( )
Here is the caller graph for this function:

◆ show_cart_open()

show_cart_open ( )
Here is the caller graph for this function:

◆ show_empty_cart()

show_empty_cart ( )
Here is the caller graph for this function:

◆ show_item()

show_item (   $art,
  $num 
)
Here is the caller graph for this function:

◆ start()

start ( )

◆ tot_arts()

tot_arts ( )
Here is the call graph for this function:

Field Documentation

◆ $classname

$classname = "Cart"

◆ $currentItem

$currentItem = 1

◆ $item

$item = array()

◆ $persistent_slots

$persistent_slots = array("item", "currentItem")

The documentation for this class was generated from the following file: