Class Hook_pointstore_custom

Description

Located in /sources/hooks/modules/pointstore/custom.php (line 21)


	
			
Method Summary
tempcode action ()
tempcode action_done ()
?array config ()
tempcode get_fields ([string $name_suffix = ''], [SHORT_TEXT $title = ''], [LONG_TEXT $description = ''], [BINARY $enabled = 1], [?integer $cost = NULL], [BINARY $one_per_member = 0])
array info ()
void init ()
void save_config ()
Methods
action (line 161)

Standard interface stage of pointstore item purchase.

  • return: The UI
tempcode action ()
action_done (line 190)

Standard actualisation stage of pointstore item purchase.

  • return: The UI
tempcode action_done ()
config (line 59)

Standard pointstore item configuration function.

  • return: A tuple: list of [fields to shown, hidden fields], title for add form, add form (NULL: disabled)
?array config ()
get_fields (line 42)

Get fields for adding/editing one of these.

  • return: The fields
tempcode get_fields ([string $name_suffix = ''], [SHORT_TEXT $title = ''], [LONG_TEXT $description = ''], [BINARY $enabled = 1], [?integer $cost = NULL], [BINARY $one_per_member = 0])
  • string $name_suffix: What to place onto the end of the field name
  • SHORT_TEXT $title: Title
  • LONG_TEXT $description: Description
  • BINARY $enabled: Whether it is enabled
  • ?integer $cost: The cost in points (NULL: not set)
  • BINARY $one_per_member: Whether it is restricted to one per member
info (line 135)

Standard pointstore item initialisation function.

  • return: The "shop fronts"
array info ()
init (line 27)

Standard pointstore item initialisation function.

void init ()
save_config (line 80)

Standard pointstore item configuration save function.

void save_config ()

Documentation generated on Sun, 02 Jan 2011 23:12:42 +0000 by phpDocumentor 1.4.3