Class Module_points

Description

Module page class.

Located in /site/pages/modules/points.php (line 24)


	
			
Method Summary
tempcode do_give ()
?array get_entry_points ()
tempcode get_transactions (ID_TEXT $type, MEMBER $member)
?array info ()
void install ([?integer $upgrade_from = NULL], [?integer $upgrade_from_hack = NULL])
tempcode points_profile ([?MEMBER $member = NULL])
tempcode points_search_form ()
tempcode points_search_results ()
tempcode run ()
void uninstall ()
Methods
do_give (line 515)

The actualiser for a gift point transaction.

  • return: The UI
tempcode do_give ()
get_entry_points (line 156)

Standard modular entry-point finder function.

  • return: A map of entry points (type-code=>language-code) (NULL: disabled).
?array get_entry_points ()
get_transactions (line 448)

Show the point transactions a member has had.

  • return: The UI
tempcode get_transactions (ID_TEXT $type, MEMBER $member)
  • ID_TEXT $type: The type of transactions we are looking for
  • MEMBER $member: Who we are looking at transactions for
info (line 32)

Standard modular info function.

  • return: Map of module info (NULL: module is disabled).
?array info ()
install (line 83)

Standard modular install function.

void install ([?integer $upgrade_from = NULL], [?integer $upgrade_from_hack = NULL])
  • ?integer $upgrade_from: What version we're upgrading from (NULL: new install)
  • ?integer $upgrade_from_hack: What hack version we're upgrading from (NULL: new-install/not-upgrading-from-a-hacked-version)
points_profile (line 268)

The UI for a points profile.

  • return: The UI
tempcode points_profile ([?MEMBER $member = NULL])
  • ?MEMBER $member: The member the points profile of which is being viewed (NULL: read from GET parameter 'id')
points_search_form (line 189)

The UI to search for a member (with regard to viewing their point profile).

  • return: The UI
tempcode points_search_form ()
points_search_results (line 218)

The actualiser for a points profile search.

  • return: The UI
tempcode points_search_results ()
run (line 166)

Standard modular run function.

  • return: The result of execution.
tempcode run ()
uninstall (line 48)

Standard modular uninstall function.

void uninstall ()

Documentation generated on Sun, 02 Jan 2011 23:22:21 +0000 by phpDocumentor 1.4.3