[ Index ] |
|
Code source de Serendipity 1.2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 933 lignes (37 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
serendipity_fetchTrackbacks($id, $limit = null, $showAll = false) X-Ref |
Fetch a list of trackbacks for an entry param: int The ID of the entry param: string How many trackbacks to show param: boolean If true, also non-approved trackbacks will be shown return: |
serendipity_printTrackbacks(&$trackbacks) X-Ref |
Show trackbacks for an entry LONG param: array The superarray of trackbacks to display return: |
serendipity_smarty_fetch($block, $file, $echo = false) X-Ref |
Smarty: Fetch a smarty block and pass it on to Serendipity Templates param: string The name of the block to parse data into ("COMMENTS" - virtual variable like {$COMMENTS}) param: string The name of the template file to fetch. Only filename, the path is auto-detected param: boolean If true, the output of the smarty parser will be echoed instead of invisibly treated return: string The parsed HTML code |
serendipity_emptyPrefix($string, $prefix = ': ') X-Ref |
Smarty Modifier: Check if a string is not empty and prepend a prefix in that case. Else, leave empty param: string The input string to check param: string The prefix to prepend, if $string is not empty return: string The return string |
serendipity_ifRemember($name, $value, $isDefault = false, $att = 'checked') X-Ref |
Smarty Modifier: Return a remembered variable param: string The variable name param: string The wanted value param: boolean Force default? param: string Returned attribute return: string The return string |
serendipity_smarty_fetchPrintEntries($params, &$smarty) X-Ref |
Smarty Function: Fetch and print a single or multiple entries param: array Smarty parameter input array: param: object Smarty object return: string The Smarty HTML response |
serendipity_smarty_showCommentForm($params, &$smarty) X-Ref |
Smarty Function: Shows a commentform param: array Smarty parameter input array: param: object Smarty object return: void |
serendipity_smarty_showPlugin($params, &$smarty) X-Ref |
Smarty Function: Be able to include the output of a sidebar plugin within a smarty template param: array Smarty parameter input array: param: object Smarty object return: string The Smarty HTML response |
serendipity_smarty_getTotalCount($params, &$smarty) X-Ref |
Smarty Function: Get total count for specific objects param: array Smarty parameter input array: param: object Smarty object return: string The Smarty HTML response |
serendipity_smarty_hookPlugin($params, &$smarty) X-Ref |
Smarty Function: Be able to execute the hook of an event plugin and return its output Listens to specific serendipity global variables: $serendipity['skip_smarty_hooks'] - If TRUE, no plugins will be executed at all $serendipity['skip_smarty_hook'] - Can be set to an array of plugin hooks to NOT execute param: array Smarty parameter input array: param: object Smarty object return: null |
serendipity_smarty_refhookPlugin(&$eventData, $hook, $addData = null) X-Ref |
Smarty Modifier: Be able to execute the hook of an event plugin and return its output, uses a REFERENCED variable. Listens to specific serendipity global variables: $serendipity['skip_smarty_hooks'] - If TRUE, no plugins will be executed at all $serendipity['skip_smarty_hook'] - Can be set to an array of plugin hooks to NOT execute param: mixed EventData (referenced) param: string Event hook name param: mixed Additional data return: null |
serendipity_smarty_printSidebar($params, &$smarty) X-Ref |
Smarty Function: Prints a list of sidebar plugins param: array Smarty parameter input array: param: object Smarty object return: string The HTML code of a plugin's output |
serendipity_smarty_getFile($params, &$smarty) X-Ref |
Smarty Function: Get the full path to a template file param: array Smarty parameter input array: param: object Smarty object return: string The requested filename with full path |
serendipity_smarty_pickKey($params, &$smarty) X-Ref |
Smarty Function: Picks a specified key from an array and returns it param: array Smarty parameter input array: param: object Smarty object return: string The requested filename with full path |
serendipity_smarty_rss_getguid($params, &$smarty) X-Ref |
Smarty Function: Get a permalink for an entry param: array Smarty parameter input array: param: object Smarty object return: string The permalink |
serendipity_smarty_formatTime($timestamp, $format, $useOffset = true, $detectTimestamp = false, $useDate = false) X-Ref |
Smarty Modifier: Format a timestamp param: int The timestamp to format (unix seconds) param: string The strftime() format options on how to format this string param: boolean Shall timezone conversions be applied? param: boolean Try to detect a valid timestamp? param: boolean Use strftime or date? return: |
serendipity_smarty_printComments($params, &$smarty) X-Ref |
Smarty Function: Show comments to an entry param: array Smarty parameter input array: param: object Smarty object return: string The HTML code with the comments |
serendipity_smarty_printTrackbacks($params, &$smarty) X-Ref |
Smarty Function: Show Trackbacks param: array Smarty parameter input array: param: object Smarty object return: |
serendipity_replaceSmartyVars(&$tpl_source, &$smarty) X-Ref |
Smarty Prefilter: Replace constants to direkt $smarty.const. access param: string Template source content param: object Smarty object return: |
serendipity_smarty_init($vars = array() X-Ref |
Initialize the Smarty framework for use in Serendipity return: null |
serendipity_smarty_purge() X-Ref |
Purge compiled Smarty Templates return: null |
serendipity_smarty_shutdown($serendipity_directory = '') X-Ref |
Shut down the Smarty Framework, output all parsed data This function is meant to be used in embedded installations, like in Gallery. Function can be called from foreign applications. ob_start() needs to have been called before, and will be parsed into Smarty here param: string The path to Serendipity return: null |
Généré le : Sat Nov 24 09:00:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |