Class net_nemein_orders_viewer

Description

Orders Site interface class.

Located in /net/nemein/orders/viewer.php (line 15)


	
			
Variable Summary
 mixed $errcode
 mixed $errstr
 mixed $_auth
 mixed $_cart
 mixed $_config
 mixed $_config_dm
 mixed $_l10n
 mixed $_mode
 mixed $_order
 mixed $_product
 mixed $_topic
Method Summary
 net_nemein_orders_viewer net_nemein_orders_viewer (mixed $topic, mixed $config)
 void can_handle (mixed $argc, mixed $argv)
 void get_metadata ()
 void handle (mixed $argc, mixed $argv)
 void show ()
 void _cancel_order (midcom_helper_session $session)
 void _init_process_cart_add (mixed $id, mixed $count)
 void _init_process_cart_remove (mixed $id)
 void _init_product_detail (mixed $name)
 void _init_welcome ()
 void _relocate (mixed $url)
 void _show_welcome ()
 void _su ([mixed $on = true])
Variables
mixed $errcode (line 34)
mixed $errstr (line 35)
mixed $_auth (line 26)
mixed $_cart (line 30)
mixed $_config (line 19)
mixed $_config_dm (line 20)
mixed $_debug_prefix (line 17)
mixed $_l10n (line 22)
mixed $_l10n_midcom (line 23)
mixed $_mailing_company_group (line 25)
mixed $_mode (line 32)
mixed $_order (line 29)
mixed $_product (line 28)
mixed $_root_order_event (line 24)
mixed $_topic (line 21)
Methods
Constructor net_nemein_orders_viewer (line 38)
net_nemein_orders_viewer net_nemein_orders_viewer (mixed $topic, mixed $config)
can_handle (line 66)
void can_handle (mixed $argc, mixed $argv)
get_metadata (line 62)
void get_metadata ()
handle (line 109)
void handle (mixed $argc, mixed $argv)
show (line 154)
void show ()
_cancel_order (line 986)

Cancelles the currently processed order and clears the session.

void _cancel_order (midcom_helper_session $session)
  • midcom_helper_session $session: The session that should be cleared.
_check_root_event (line 1061)
void _check_root_event ()
_init_checkout_address (line 377)
void _init_checkout_address ()
_init_checkout_confirm (line 829)
void _init_checkout_confirm ()
_init_checkout_finalize_order (line 508)
void _init_checkout_finalize_order ()
_init_checkout_payment (line 721)

Init handler which prepares for payment of a previously confirmed order.

If n.n.payment integration is not activated, execution will halt.

The init handler will load the library.

This will always execute _show_checkout_payment()

  • return: Indicating success.
bool _init_checkout_payment ()
_init_checkout_process_payment (line 580)

Init handler which processes a payment executed by one of the n.n.payment handlers.

The init handler will load the library.

There is no output handler accociated with this handler, either an error is triggered, or the user is relocated accordingly. The cancel handler is used for both rejections and cancellations in conjunction with a processing message.

  • return: Indicating success.
bool _init_checkout_process_payment ()
_init_process_cart (line 236)
void _init_process_cart ()
_init_process_cart_add (line 298)
void _init_process_cart_add (mixed $id, mixed $count)
_init_process_cart_remove (line 335)
void _init_process_cart_remove (mixed $id)
_init_process_cart_remove_all (line 366)
void _init_process_cart_remove_all ()
_init_product_detail (line 202)
void _init_product_detail (mixed $name)
_init_welcome (line 169)

***************** CODE INIT/SHOW HELPER METHODS *****************************

void _init_welcome ()
_load_mailing_group (line 1045)
void _load_mailing_group ()
_prepare_config_dm (line 1020)
void _prepare_config_dm ()
_relocate (line 1014)
void _relocate (mixed $url)
_show_checkout_address (line 502)
void _show_checkout_address ()
_show_checkout_confirm (line 973)
void _show_checkout_confirm ()
_show_checkout_finalize_order (line 554)
void _show_checkout_finalize_order ()
_show_checkout_payment (line 814)

Displays the order and the list of payment handlers.

Style elements in use (in this order):

  • heading-checkout-payment
  • dmview-checkout-order
  • checkout-orderitems-begin
  • checkout-orderitems-item (once for each ordered product)
  • checkout-orderitems-end
  • checkout-payment-options
The payment options will lead to the pages of the payment processing system, which will then relocate to the checkout/process_payment handler.

void _show_checkout_payment ()
_show_product_detail (line 228)
void _show_product_detail ()
_show_welcome (line 177)
void _show_welcome ()
_su (line 994)
void _su ([mixed $on = true])

Documentation generated on Mon, 21 Nov 2005 18:23:40 +0100 by phpDocumentor 1.3.0RC3