IP.Board  3.3.0
items_downloads Class Reference

Public Member Functions

 form_file ($invoice)
 getItems ()
 getPackageImage ($app, $type, $id)
 init_html ()
 save_file ($invoice)

Protected Attributes

 $fileCache = array()

Member Function Documentation

form_file ( invoice)

Add Item

Parameters:
invoiceInvoice object
Returns:
string HTML 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_file ( invoice)

Save Item

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