Class Hook_addon_registry_themewizard

Description

Located in /sources/hooks/systems/addon_registry/themewizard.php (line 21)


	
			
Method Summary
Methods
get_chmod_array (line 29)

Get a list of file permissions to set

  • return: File permissions to set
array get_chmod_array ()
get_dependencies (line 59)

Get a mapping of dependency types

  • return: File permissions to set
array get_dependencies ()
get_description (line 49)

Get the description of the addon

  • return: Description of the addon
string get_description ()
get_file_list (line 73)

Get a list of files that belong to this addon

  • return: List of files
array get_file_list ()
get_version (line 39)

Get the version of ocPortal this addon is for

  • return: Version number
float get_version ()
tpl_previews (line 103)

Get mapping between template names and the method of this class that can render a preview of them

  • return: The mapping
array tpl_previews ()
tpl_preview__administrative__logowizard_2_screen (line 161)

Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.

Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive. Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.

  • return: Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
array tpl_preview__administrative__logowizard_2_screen ()
tpl_preview__administrative__themewizard_2_preview (line 119)

Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.

Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive. Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.

  • return: Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
array tpl_preview__administrative__themewizard_2_preview ()
tpl_preview__administrative__themewizard_2_screen (line 135)

Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.

Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive. Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.

  • return: Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
array tpl_preview__administrative__themewizard_2_screen ()

Documentation generated on Sun, 02 Jan 2011 23:27:01 +0000 by phpDocumentor 1.4.3