frugal_demodata (line
230)
add demonstration data to the system
this routine is a no-op because all frugal demodata is already created in the main demodata-routine in /program/install/demodata.php. This routine is retained here as an example alias placeholder.
bool
frugal_demodata
(array &$messages, int $theme_id, $config, array $manifest, array $configuration)
-
array
&$messages: collects the (error) messages
-
int
$theme_id: the key for this theme in the themes table
-
array
$configuration: pertinent data for the new website + demodata foundation
-
array
$manifest: a copuy from the manifest for this theme
-
$config
frugal_install (line
45)
install the theme
bool
frugal_install
(array &$messages, int $theme_id)
-
array
&$messages: collects the (error) messages
-
int
$theme_id: the key for this theme in the themes table
frugal_uninstall (line
212)
uninstall the theme
bool
frugal_uninstall
(array &$messages, int $theme_id)
-
array
&$messages: collects the (error) messages
-
int
$theme_id: the key for this theme in the themes table
frugal_upgrade (line
200)
upgrade the theme
bool
frugal_upgrade
(array &$messages, int $theme_id)
-
array
&$messages: collects the (error) messages
-
int
$theme_id: the key for this theme in the themes table