Functions
smarty_modifier_currency¶
Smarty {currency} modifier plugin
Type: modifier<br>
Name: currency<br>
Purpose: format a number as currency
« More »
smarty_block_group¶
Smarty {group} block plugin
Type: block<br>
Name: group<br>
Purpose: Set up a group block
« More »
smarty_function_object_to_js¶
Smarty {object_to_js} function plugin
Type: function<br>
Name: object_to_js<br>
Purpose: convert a php object into javascript
« More »
smarty_function_edebug¶
Smarty {edebug} function plugin
Type: function<br>
Name: edebug<br>
Purpose: dump a variable
« More »
smarty_modifier_brightness¶
Smarty {brightness} modifier plugin
Type: modifier<br>
Name: brightness<br>
Purpose: Calculate a lighter/darker color from the one passed
+- 255 steps, default is 20 steps brighter
« More »
smarty_function_loading¶
Smarty {loading} function plugin
Type: function<br>
Name: loading<br>
Purpose: create framework appropriate loading element for animation
« More »
smarty_function_img¶
Smarty {img} function plugin
Type: function<br>
Name: img<br>
Purpose: display an image using phpthumb-nailer
« More »
smarty_function_editorinclude¶
Smarty {editorinclude} function plugin
Type: function<br>
Name: editorinclude<br>
Purpose: include an external editor
« More »
smarty_function_selectobjects¶
Smarty {selectobjects} function plugin
Type: function<br>
Name: selectobjects<br>
Purpose: select and assign objects
« More »
smarty_function_message¶
Smarty {message} function plugin
Type: function<br>
Name: message<br>
Purpose: create message styled text
(default) - green
'error' - red
'notice' - yellow
'info' - blue
« More »
smarty_function_grouplistcontrol¶
Smarty {grouplistcontrol} function plugin
Type: function<br>
Name: grouplistcontrol<br>
Purpose: display a list control of user groups
« More »
smarty_function_max_filesize¶
Smarty {max_filesize} function plugin
Type: function<br>
Name: max_filesize<br>
Purpose: display php max filesize
« More »
smarty_modifier_statename¶
Smarty {statename} modifier plugin
Type: modifier<br>
Name: statename<br>
Purpose: lookup a state's name based o state id
« More »
smarty_function_messagequeue¶
Smarty {messagequeue} function plugin
Type: function<br>
Name: messagequeue<br>
Purpose: display 'flash' message queue
« More »
smarty_modifier_relative_date¶
Smarty {relative_date} modifier plugin
Type: modifier<br>
Name: relative_date<br>
Purpose: convert a date in a relative format
« More »
smarty_function_chain¶
Smarty {chain} function plugin
Type: function<br>
Name: chain<br>
Purpose: chain/append templates
« More »
smarty_modifier_getcontrollername¶
Smarty {getcontrollername} modifier plugin
Type: modifier<br>
Name: getcontrollername<br>
Purpose: Return the module name for this module
« More »
smarty_modifier_kilobytes¶
Smarty {kilobytes} modifier plugin
Type: modifier<br>
Name: kilobytes<br>
Purpose: convert to kilobytes
« More »
smarty_function_printer_friendly_link¶
Smarty {printer_friendly_link} function plugin
Type: function<br>
Name: printer_friendly_link<br>
Purpose: format a link for displaying a printer friendly version of the page
« More »
smarty_function_podcastlink¶
Smarty {podcastlink} function plugin
Type: function<br>
Name: podcastlink<br>
Purpose: make a podcast link
« More »
smarty_function_printer_friendly_link¶
Smarty {printer_friendly_link} function plugin
Type: function<br>
Name: printer_friendly_link<br>
Purpose: format a link for displaying a printer friendly version of the page
« More »
smarty_function_subscribe_link¶
Smarty {subscribe_link} function plugin
Type: function<br>
Name: subscribe_link<br>
Purpose: format a link for subscribing/unsubscribing to email alerts for the module
« More »
smarty_function_help¶
Smarty {help} function plugin
Type: function<br>
Name: help<br>
Purpose: create a help link
« More »
smarty_block_page¶
Smarty {page} block plugin
Type: block<br>
Name: page<br>
Purpose: Set up a form page (wizard) block
« More »
smarty_function_optiondisplayer¶
Smarty {optiondisplayer} function plugin
Type: function<br>
Name: optiondisplayer<br>
Purpose: display option dropdown list
« More »
smarty_function_pagenumbers¶
Smarty {pagenumbers} function plugin
Type: function<br>
Name: pagenumbers<br>
Purpose: display a pagination page numbers
« More »
smarty_function_ecomconfig¶
Smarty {ecomconfig} function plugin
Type: function<br>
Name: ecomconfig<br>
Purpose: return the ecom configuration
« More »
smarty_function_getnav¶
Smarty {getnav} function plugin
Type: function<br>
Name: getnav<br>
Purpose: get and assign navigation sub-structure based on type
« More »
smarty_modifier_gettext¶
Smarty {gettext} modifier plugin
Type: modifier<br>
Name: gettext<br>
Purpose: Replace with the chosen language for this text
« More »
smarty_modifier_convertlangcode¶
Smarty {convertlangcode} modifier plugin
Type: modifier<br>
Name: convertlangcode<br>
Purpose: attempt to convert language codes between different formats
« More »
smarty_modifier_contrast¶
Smarty {contrast} modifier plugin
Type: modifier<br>
Name: contrast<br>
Purpose: Calculate a contrasting/complementary color from the one passed
using either the default 50% rule or YIQ
« More »
smarty_modifier_countryname¶
Smarty {countryname} modifier plugin
Type: modifier<br>
Name: countryname<br>
Purpose: lookup a country's name based a country id
« More »
smarty_function_prod_images¶
Smarty {prod_images} function plugin
Type: function<br>
Name: prod_images<br>
Purpose: display product images
« More »
smarty_function_br¶
Smarty {br} function plugin
Type: function<br>
Name: br<br>
Purpose: create an appropriate break depending on xhtml setting
« More »
smarty_function_module_style¶
Smarty {module_style} function plugin
Type: function<br>
Name: module_style<br>
Purpose: convert module config style settings to class names
« More »
smarty_function_export_pdf_link¶
Smarty {export_pdf_link} function plugin
Type: function<br>
Name: export_pdf_link<br>
Purpose: format a link for exporting a PDF version of the page
« More »
smarty_modifier_expdate¶
Smarty {expdate} modifier plugin
Type: modifier<br>
Name: expdate<br>
Purpose: Format a string according to the given format
« More »
smarty_function_ical_link¶
Smarty {ical_link} function plugin
Type: function<br>
Name: ical_link<br>
Purpose: format a link for an iCalendar feed of the module
« More »
smarty_function_makecase¶
Smarty {makecase} function plugin
Type: function<br>
Name: makecase<br>
Purpose: change case of string
« More »
smarty_modifier_not_bs¶
Smarty {kilobytes} modifier plugin
Type: modifier<br>
Name: kilobytes<br>
Purpose: convert to kilobytes
« More »
smarty_function_list_object¶
Smarty {list_object} function plugin
Type: function<br>
Name: list_object<br>
Purpose: place an object in a unordered list
« More »
smarty_modifier_groupname¶
Smarty {groupname} modifier plugin
Type: modifier<br>
Name: groupname<br>
Purpose: return the group name for a group id
« More »
smarty_block_assocarray¶
Smarty {assocarray} block plugin
Type: block<br>
Name: assocarray<br>
Purpose: Set up a associative array
Version: 1.1
Author: boots
« More »
smarty_block_permissions¶
Smarty {permissions} block plugin
Type: block<br>
Name: permissions<br>
Purpose: Set up a permissions block
« More »
smarty_function_clear¶
Smarty {clear} function plugin
Type: function<br>
Name: clear<br>
Purpose: clear formatting
« More »
smarty_function_help¶
Smarty {help} function plugin
Type: function<br>
Name: help<br>
Purpose: create a help link
« More »
smarty_function_stars¶
Smarty {stars} function plugin
Type: function<br>
Name: stars<br>
Purpose: display a rating by stars
« More »
smarty_block_paginate¶
Smarty {paginate} block plugin
Type: block<br>
Name: paginate<br>
Purpose: Set up a pagination block
« More »
smarty_modifier_reverse_array¶
Smarty {reverse_array} modifier plugin
Type: modifier<br>
Name: reverse_array<br>
Purpose: reverse arrays
« More »
smarty_modifier_array_lookup¶
Smarty {array_lookup} modifier plugin
Type: modifier<br>
Name: array_lookup<br>
Purpose: lookup a key within an array
« More »
smarty_function_nbsp¶
Smarty {nbsp} function plugin
Type: function<nbsp>
Name: nbsp
Purpose: create an appropriate non-breaking space
« More »
smarty_modifier_address¶
Smarty {address} modifier plugin
Type: modifier<br>
Name: address<br>
Purpose: return an address display from an id
« More »
smarty_function_userlistcontrol¶
Smarty {userlistcontrol} function plugin
Type: function<br>
Name: userlistcontrol<br>
Purpose: display a list control of users
« More »
smarty_function_breadcrumb¶
Smarty {breadcrum} function plugin
Type: function<br>
Name: breadcrum<br>
Purpose: return a 'breadcrumb' widget
« More »
smarty_function_pagebacklink¶
Smarty {pagebacklink} function plugin
Type: function<br>
Name: pagebacklink<br>
Purpose: display pagination back page link
« More »
smarty_modifier_summarize¶
Smarty {summarize} modifier plugin
Type: modifier<br>
Name: summarize<br>
Purpose: shorten and flatten a string removing some or all markup
« More »
smarty_function_showaction¶
Smarty {showaction} function plugin
Type: function<br>
Name: showaction<br>
Purpose: Display an action.<br>
« More »
smarty_modifier_highlight¶
Smarty {highlight} modifier plugin
Type: modifier<br>
Name: highlight<br>
Purpose: highlight selected phrases in text
« More »
smarty_outputfilter_trim¶
Smarty trim outputfilter plugin
Trim unnecessary whitespace from from the beginning and end of output.
« More »
smarty_function_subscribe_link¶
Smarty {subscribe_link} function plugin
Type: function<br>
Name: subscribe_link<br>
Purpose: format a link for subscribing/unsubscribing to email alerts for the module
« More »
smarty_function_attribution¶
Smarty {attribution} function plugin
Type: function<br>
Name: attribution<br>
Purpose: create an attribution phrase
« More »
smarty_function_navtojson¶
Smarty {navtojson} function plugin
Type: function<br>
Name: navtojson<br>
Purpose: caonvert navigation structure to javascript via json
« More »
smarty_function_export_pdf_link¶
Smarty {export_pdf_link} function plugin
Type: function<br>
Name: export_pdf_link<br>
Purpose: format a link for exporting a PDF version of the page
« More »
smarty_modifier_remove_space¶
Smarty {remove_space} modifier plugin
Type: modifier<br>
Name: remove_space<br>
Purpose: remove spaces, replacing them with underscores
« More »
smarty_function_gettxtlist¶
Smarty {gettxtlist} function plugin
Type: function<br>
Name: gettxtlist<br>
Purpose: Replace comma separated list with the chosen language for the text
« More »
smarty_modifier_username¶
Smarty {username} modifier plugin
Type: modifier<br>
Name: username<br>
Purpose: return the username for a user id
« More »
smarty_function_gettext¶
Smarty {gettext} function plugin
Type: function<br>
Name: gettext<br>
Purpose: Replace with the chosen language for this text
« More »
smarty_block_pop¶
Smarty {pop} block plugin
Type: block<br>
Name: pop<br>
Purpose: Set up a pop block
« More »
smarty_function_plural¶
Smarty {plural} function plugin
Type: function<br>
Name: plural<br>
Purpose: test and return a singular or plural form of phrase
« More »
smarty_function_filedisplayer¶
Smarty {filedisplayer} function plugin
Type: function<br>
Name: filedisplayer<br>
Purpose: display files
« More »
smarty_modifier_bytes¶
Smarty {bytes} modifier plugin
Type: modifier<br>
Name: bytes<br>
Purpose: convert to mega/kilo/bytes
« More »
smarty_block_script¶
Smarty {script} block plugin
Type: block<br>
Name: script<br>
Purpose: Set up a script block
« More »
smarty_function_keybyid¶
Smarty {keybyid} function plugin
Type: function<br>
Name: keybyid<br>
Purpose: get and assign key by its id
« More »
smarty_modifier_plural¶
Smarty {plural} modifier plugin
Type: modifier<br>
Name: plural<br>
Purpose: pluralize a string
« More »
smarty_function_link¶
Smarty {link} function plugin
Type: function<br>
Name: link<br>
Purpose: create a link
« More »
smarty_function_google_map¶
Smarty {google_map} function plugin
Type: function<br>
Name: google_map<br>
Purpose: embed a google map for passed address id, object, or string
« More »
smarty_function_ical_link¶
Smarty {ical_link} function plugin
Type: function<br>
Name: ical_link<br>
Purpose: format a link for an iCalendar feed of the module
« More »
smarty_modifier_gettxtlist¶
Smarty {gettxtlist} modifier plugin
Type: modifier<br>
Name: gettxtlist<br>
Purpose: Replace comma separated list with the chosen language for the text
« More »
smarty_function_ddrerank¶
Smarty {ddrerank} function plugin
Type: function<br>
Name: ddrerank<br>
Purpose: display item re-ranking popup
« More »
smarty_function_get_cart_summary¶
Smarty {get_cart_summary} function plugin
Type: function<br>
Name: get_cart_summary<br>
Purpose: get summary of cart contents
« More »
smarty_modifier_nobreak¶
Smarty {nobreak} modifier plugin
Type: modifier<br>
Name: nobreak<br>
Purpose: replace spaces with non-breaking spaces
« More »
smarty_function_get_object¶
Smarty {get_object} function plugin
Type: function<br>
Name: get_object<br>
Purpose: get and assign object
« More »
smarty_function_viewfile¶
Smarty {viewfile} function plugin
Type: function<br>
Name: viewfile<br>
Purpose: get and assign a view file
« More »
smarty_function_printer_friendly_link¶
« More »
smarty_function_uniqueid¶
Smarty {uniqueid} function plugin
Type: function<br>
Name: uniquieid<br>
Purpose: create a unique id
« More »
smarty_modifier_hide_email¶
Smarty {hide_email} modifier plugin
Type: modifier<br>
Name: hide_email<br>
Purpose: obfuscate an email address
« More »
smarty_modifier_urlencode¶
Smarty {urlencode} modifier plugin
Type: modifier<br>
Name: urlencode<br>
Purpose: urlencode a string
« More »
smarty_function_bootstrap_navbar¶
Smarty {bootstrap_navbar} function plugin
Type: function<br>
Name: bootstrap_navbar<br>
Purpose: process exp menu hierarchy to display a twitter bootstrap menu navbar
« More »
smarty_function_simplenote¶
Smarty {simplenote} function plugin
Type: function<br>
Name: simplenote<br>
Purpose: Include the SimpleNote Attachable Item on the page.<br>
« More »
smarty_function_securelink¶
Smarty {securelink} function plugin
Type: function<br>
Name: securelink<br>
Purpose: create a secure link
« More »
smarty_function_showmodule¶
Smarty {showmodule} function plugin
Type: function<br>
Name: showmodule<br>
Purpose: Display a module.<br>
« More »
smarty_block_if_elements¶
Smarty {if_elements} block plugin
Type: block<br>
Name: if_elements<br>
Purpose: Set up a if elements block
« More »
smarty_function_getfileicon¶
Smarty {getfilicon} function plugin
Type: function<br>
Name: getfilicon<br>
Purpose: displays on icon for a file
« More »
smarty_function_selectvalue¶
Smarty {selectvalue} function plugin
Type: function<br>
Name: selectvalue<br>
Purpose: select a database table value
« More »
smarty_function_help¶
Smarty {help} function plugin
Type: function<br>
Name: help<br>
Purpose: create a help link
« More »
smarty_function_pagenextlink¶
Smarty {pagenextlink} function plugin
Type: function<br>
Name: pagenextlink<br>
Purpose: display pagination next page link
« More »
smarty_function_sessions_get¶
Smarty {sessions_get} function plugin
Type: function<br>
Name: chain<br>
Purpose: get and assign sessions variables
« More »
smarty_function_pagelinks¶
Smarty {pagelinks} function plugin
Type: function<br>
Name: pagelinks<br>
Purpose: display page links
« More »
smarty_function_printer_friendly_link¶
Smarty {printer_friendly_link} function plugin
Type: function<br>
Name: printer_friendly_link<br>
Purpose: format a link for displaying a printer friendly version of the page
« More »
smarty_function_control¶
Smarty {control} function plugin
Type: function<br>
Name: control<br>
Purpose: create a form control
« More »
smarty_function_obj2json¶
Smarty {obj2json} function plugin
Type: function<br>
Name: obj2json<br>
Purpose: convert a php object to javascript via json
« More »
smarty_function_rating¶
Smarty {rating} function plugin
Type: function<br>
Name: rating<br>
Purpose: display a rating
« More »
smarty_modifier_signature¶
Smarty {signature} modifier plugin
Type: modifier<br>
Name: signature<br>
Purpose: return the stored signature for a user id if available
« More »
smarty_postfilter_switch¶
Filter the template after it is generated to fix switch bugs.
Remove any spaces after the 'switch () {' code and before the first case. Any tabs or spaces
for layout would cause php errors witch this reged will fix.
« More »
smarty_function_icon¶
Smarty {icon} function plugin
Type: function<br>
Name: icon<br>
Purpose: create an icon type link
« More »
smarty_compiler_exp_include¶
Smarty {exp_include} compiler plugin
Type: compiler<br>
Name: exp_include<br>
Purpose: includes appropriate file based on 'framework' with fallback
« More »
smarty_function_subscribe_link¶
Smarty {subscribe_link} function plugin
Type: function<br>
Name: subscribe_link<br>
Purpose: format a link for subscribing/unsubscribing to email alerts for the module
« More »
smarty_modifier_megabytes¶
Smarty {kilobytes} modifier plugin
Type: modifier<br>
Name: kilobytes<br>
Purpose: convert to kilobytes
« More »
smarty_function_export_pdf_link¶
Smarty {export_pdf_link} function plugin
Type: function<br>
Name: export_pdf_link<br>
Purpose: format a link for exporting a PDF version of the page
« More »
smarty_block_toggle¶
Smarty {toggle} block plugin
Type: block<br>
Name: toggle<br>
Purpose: Set up a toggle block
« More »
smarty_function_scaffold¶
Smarty {scaffold} function plugin
Type: function<br>
Name: scaffold<br>
Purpose: scaffold
« More »
smarty_modifier_is_logged_in¶
Smarty {is_logged_in} modifier plugin
Type: modifier<br>
Name: is_logged_in<br>
Purpose: determine if user is logged in
« More »
smarty_block_pop¶
Smarty {pop} block plugin
Type: block<br>
Name: pop<br>
Purpose: Set up a pop block
« More »
smarty_block_pop¶
Smarty {pop} block plugin
Type: block<br>
Name: pop<br>
Purpose: Set up a pop block
« More »
smarty_function_time_duration¶
Smarty {time_duration} function plugin
Type: function<br>
Name: time_duration<br>
Purpose: calculate and assign a duration
« More »
smarty_function_currency_symbol¶
Smarty {currencty_symbol} function plugin
Type: function<br>
Name: currency_symbol<br>
Purpose: create appropriate currency symbol
« More »
smarty_function_get_user¶
Smarty {get_user} function plugin
Type: function<br>
Name: get_user<br>
Purpose: get user name
« More »
smarty_function_assign_adv¶
Smarty {assign_adv} function plugin
Type: function<br>
Name: assign_adv<br>
Purpose: Advanced assign variable to template
« More »
smarty_function_backlink¶
Smarty {backlink} function plugin
Type: function<br>
Name: backlink<br>
Purpose: create a back link
« More »
smarty_block_css¶
Smarty {css} block plugin
Type: block<br>
Name: css<br>
Purpose: Set up a css block
« More »
smarty_function_serialize¶
Smarty {serialize} function plugin
-------------------------------------------------------------
Type: function<br>
Name: serialize<br>
Purpose: Converts an assigned variable (or value) to a text representation compatable with
the {assocarray} block plugin
Version: 1.0
Author: boots
« More »
smarty_modifier_getcontrollerdisplayname¶
Smarty {getcontrollerdisplayname} modifier plugin
Type: modifier<br>
Name: getcontrollerdisplayname<br>
Purpose: Return the module display name for this module
« More »
smarty_function_ical_link¶
Smarty {ical_link} function plugin
Type: function<br>
Name: ical_link<br>
Purpose: format a link for an iCalendar feed of the module
« More »
smarty_function_last_url_of¶
Smarty {last_url_of} function plugin
Type: function<br>
Name: last_url_of<br>
Purpose: return the last url of type passed
« More »
smarty_function_google_maps_link¶
Smarty {google_maps_link} function plugin
Type: function<br>
Name: google_maps_link<br>
Purpose: create a google maps link
« More »