IP.Board  3.3.0
items_nexus Class Reference

Public Member Functions

 form_charge ($invoice)
 form_custom ($invoice)
 form_dedi ($invoice)
 form_donation ($invoice)
 form_package ($invoice)
 formatExtra ($purchase, $extra)
 getItems ()
 getPackageImage ($app, $type, $id)
 init_html ()
 save_charge ($invoice)
 save_custom ($invoice)
 save_dedi ($invoice)
 save_donation ($invoice)
 save_package ($invoice)

Member Function Documentation

form_charge ( invoice)

Add Item: Misc Charge

Parameters:
invoiceInvoice object
Returns:
string HTML to display
form_custom ( invoice)

Add Item: Custom Package

Parameters:
invoiceInvoice object
Returns:
string HTML to display
form_dedi ( invoice)

Add Item: Dedicated Server

Parameters:
invoiceInvoice object
Returns:
string HTML to display
form_donation ( invoice)

Add Item: Donation

Parameters:
invoiceInvoice object
Returns:
string HTML to display
form_package ( invoice)

Add Item: Package

Parameters:
invoiceInvoice object
stringType
Returns:
string HTML to display
formatExtra ( purchase,
extra 
)

Format Extra Information

Parameters:
arrayPurchase data
arrayUnserialized ps_extra
Returns:
array Information to display
getItems ( )

Get item types

Returns:
array Items this application provides
getPackageImage ( app,
type,
id 
)

Get Package Image

Parameters:
stringApp
stringItem type
mixedItem ID
Returns:
string URL to image
init_html ( )

Init HTML Called before any form_* methods so that the skin_cp can be loaded

save_charge ( invoice)

Save Item: Misc Charge

Parameters:
invoiceInvoice object
Returns:
array Data to pass to invoiceModel::addItem without 'app' or 'type'
save_custom ( invoice)

Save Item: Custom Package

Parameters:
invoiceInvoice object
Returns:
array Data to pass to invoiceModel::addItem without 'app' or 'type'
save_dedi ( invoice)

Save Item: Custom Package

Parameters:
invoiceInvoice object
Returns:
array Data to pass to invoiceModel::addItem without 'app' or 'type'
save_donation ( invoice)

Save Item: Donation

Parameters:
invoiceInvoice object
Returns:
array Data to pass to invoiceModel::addItem without 'app' or 'type'
save_package ( invoice)

Save Item: Package

Parameters:
invoiceInvoice object
Returns:
array Data to pass to invoiceModel::addItem without 'app' or 'type'

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables