Choose product step.
tempcode
choose
(tempcode $title)
-
tempcode
$title: The page title.
Details about purchase step.
tempcode
details
(tempcode $title)
-
tempcode
$title: The page title.
Only allow logged in members to here.
void
ensure_in
()
Finish step.
tempcode
finish
(tempcode $title)
-
tempcode
$title: The page title.
Standard modular entry-point finder function.
?array
get_entry_points
()
Standard modular info function.
?array
info
()
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)
Licence agreement step.
tempcode
licence
(tempcode $title)
-
tempcode
$title: The page title.
Message about product step.
tempcode
message
(tempcode $title)
-
tempcode
$title: The page title.
Payment step.
tempcode
pay
(tempcode $title)
-
tempcode
$title: The page title.
Product info for all ecommerce items
tempcode
product_info
(tempcode $title)
-
tempcode
$title: The page title.
Standard modular run function.
tempcode
run
()
Standard modular uninstall function.
void
uninstall
()
Wrap-up so as to remove redundancy in templates.
tempcode
wrap
(tempcode $content, tempcode $title, ?mixed $url, [boolean $get = false])
-
tempcode
$content: To wrap.
-
tempcode
$title: The title to use.
-
?mixed
$url: URL (NULL: no next URL).
-
boolean
$get: Whether it is a GET form