do_lorem_template (line 468)
Lorem version of do_template. It will reprocess the template into something that is "stable XHTML" and thus can work inside an XHTML editor
tempcode
do_lorem_template
(ID_TEXT $codename, [?array $parameters = NULL], [?LANGUAGE_NAME $lang = NULL], [boolean $light_error = false], [?ID_TEXT $fallback = NULL], [string $suffix = '.tpl'], [string $type = 'templates'])
-
ID_TEXT
$codename: The codename of the template being loaded
-
?array
$parameters: A map of parameters for the template (key to value) (NULL: no parameters)
-
?LANGUAGE_NAME
$lang: The language to load the template in (templates can embed language references) (NULL: users own language)
-
boolean
$light_error: Whether to not produce a stack dump if the template is missing
-
?ID_TEXT
$fallback: Alternate template to use if the primary one does not exist (NULL: none)
-
string
$suffix: File type suffix of template file (e.g. .tpl)
-
string
$type: Subdirectory type to look in
find_all_previews__by_screen (line 662)
Find the template/screen previews
array
find_all_previews__by_screen
()
find_all_previews__by_template (line 631)
Find the template/screen previews
array
find_all_previews__by_template
()
find_comcodes (line 595)
Get all comcode files.
array
find_comcodes
()
find_html (line 613)
Get all html files.
array
find_html
()
get_text_templates (line 764)
Get an additional list of templates that should be treated as text.
array
get_text_templates
()
lorem_chunk (line 96)
Get suitable placeholder text.
string
lorem_chunk
()
lorem_chunk_html (line 166)
Get suitable placeholder text.
tempcode
lorem_chunk_html
()
lorem_globalise (line 483)
Lorem version of globalise. It will wrap the input into something that is "stable XHTML" and thus can work inside an XHTML editor
tempcode
lorem_globalise
(tempcode $middle, [?mixed $message = NULL], [string $type = ''], [boolean $include_header_and_footer = false])
-
tempcode
$middle: The tempcode to put into a nice frame
-
?mixed
$message: 'Additional' message (NULL: none)
-
string
$type: The type of special message
-
boolean
$include_header_and_footer: Whether to automatically include the header and footer templates
lorem_paragraph (line 86)
Get suitable placeholder text.
string
lorem_paragraph
()
lorem_paragraph_html (line 154)
Get suitable placeholder text.
tempcode
lorem_paragraph_html
()
lorem_phrase (line 46)
Get suitable placeholder text.
string
lorem_phrase
()
lorem_phrase_html (line 130)
Get suitable placeholder text.
tempcode
lorem_phrase_html
()
lorem_sentence (line 76)
Get suitable placeholder text.
string
lorem_sentence
()
lorem_sentence_html (line 142)
Get suitable placeholder text.
tempcode
lorem_sentence_html
()
lorem_title (line 56)
Get suitable placeholder text: title.
tempcode
lorem_title
()
lorem_word (line 26)
Get suitable placeholder text.
string
lorem_word
()
lorem_word_2 (line 36)
Get suitable placeholder text.
string
lorem_word_2
()
lorem_word_2_html (line 118)
Get suitable placeholder text.
tempcode
lorem_word_2_html
()
lorem_word_html (line 106)
Get suitable placeholder text.
tempcode
lorem_word_html
()
placeholder_archive (line 313)
Get a list
tempcode
placeholder_archive
()
placeholder_array (line 297)
Get an array
array
placeholder_array
([integer $num_elements = 3])
-
integer
$num_elements: Number of array elements.
placeholder_avatar (line 523)
Get an avatar image.
tempcode
placeholder_avatar
()
placeholder_blank (line 436)
Get a blank screen, for a parameter which is not visible and typically blank.
string
placeholder_blank
()
placeholder_breadcrumbs (line 446)
Get suitable placeholder breadcrumbs.
tempcode
placeholder_breadcrumbs
()
placeholder_button (line 268)
Get a button
tempcode
placeholder_button
()
placeholder_date (line 345)
Get suitable placeholder date.
string
placeholder_date
()
placeholder_date_raw (line 365)
Get suitable placeholder timestamp.
string
placeholder_date_raw
()
placeholder_emoticons (line 496)
Get an array of emoticons.
array
placeholder_emoticons
()
placeholder_emoticon_chooser (line 533)
Get a table of emoticons.
tempcode
placeholder_emoticon_chooser
()
placeholder_fields (line 190)
Get fields
tempcode
placeholder_fields
()
placeholder_filesize (line 395)
Get suitable placeholder filesize.
string
placeholder_filesize
()
placeholder_form (line 178)
Get suitable placeholder text.
tempcode
placeholder_form
()
placeholder_form_with_field (line 203)
Get form with a field
tempcode
placeholder_form_with_field
(ID_TEXT $field_name)
-
ID_TEXT
$field_name: The field name wanted.
placeholder_id (line 385)
Get suitable placeholder ID.
string
placeholder_id
()
placeholder_image (line 333)
Get an image
tempcode
placeholder_image
()
placeholder_image_url (line 426)
Get image url
string
placeholder_image_url
()
placeholder_img_code (line 550)
Get a theme image code.
string
placeholder_img_code
([string $type = ''])
-
string
$type: The theme image directory to find a code under
placeholder_ip (line 66)
Get suitable placeholder text: title.
tempcode
placeholder_ip
()
placeholder_javascript (line 406)
Get javascript code
string
placeholder_javascript
()
placeholder_javascript_code (line 416)
Get javascript code
string
placeholder_javascript_code
()
placeholder_link (line 246)
Get suitable placeholder link.
tempcode
placeholder_link
()
placeholder_number (line 375)
Get suitable placeholder number.
string
placeholder_number
()
placeholder_options (line 280)
Get options for drop-down box
string
placeholder_options
()
placeholder_random (line 258)
Get a random number
string
placeholder_random
()
placeholder_result_browser (line 571)
Get a results browser.
tempcode
placeholder_result_browser
()
placeholder_table (line 222)
Get suitable placeholder text.
tempcode
placeholder_table
()
placeholder_time (line 355)
Get time
string
placeholder_time
()
placeholder_types (line 323)
Get some set of data
tempcode
placeholder_types
()
placeholder_url (line 234)
Get suitable placeholder URL.
tempcode
placeholder_url
()
render_screen_preview (line 696)
Shows the preview of a screen
tempcode
render_screen_preview
(ID_TEXT $template, ID_TEXT $hook, ID_TEXT $function)
-
ID_TEXT
$template: The template to be previewed
-
ID_TEXT
$hook: The hook the preview is in
-
ID_TEXT
$function: The name of the screen preview