Class Hook_other

Description

Located in /sources/hooks/systems/ecommerce/other.php (line 21)


	
			
Method Summary
?tempcode get_identifier_manual_field_inputter (ID_TEXT $type_code)
array get_products ()
Methods
get_identifier_manual_field_inputter (line 30)

Function for administrators to pick an identifier (only used by admins, usually the identifier would be picked via some other means in the wider ocPortal codebase).

  • return: Input field in standard Tempcode format for fields (NULL: no identifier).
?tempcode get_identifier_manual_field_inputter (ID_TEXT $type_code)
  • ID_TEXT $type_code: Product type code.
get_products (line 45)

Get the products handled by this eCommerce hook.

IMPORTANT NOTE TO PROGRAMMERS: This function may depend only on the database, and not on get_member() or any GET/POST values. Such dependencies will break IPN, which works via a Guest and no dependable environment variables. It would also break manual transactions from the Admin Zone.

  • return: A map of product name to list of product details.
array get_products ()

Documentation generated on Sun, 02 Jan 2011 23:20:39 +0000 by phpDocumentor 1.4.3