Zikula_Template_Plugins
[ class tree: Zikula_Template_Plugins ] [ index: Zikula_Template_Plugins ] [ all elements ]

Procedural File: function.pnmanuallink.php

Source Location: /system/pnRender/plugins/function.pnmanuallink.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.pnmanuallink.php 24342 2008-06-06 12:03:14Z markwest $
copyright:  (c) 2004, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








smarty_function_pnmanuallink [line 39]

string smarty_function_pnmanuallink( array $params, object &$smarty)

Smarty function to create manual link.

This function creates a manual link from some parameters.

Available parameters:

  • manual: name of manual file, manual.html if not set
  • chapter: an anchor in the manual file to jump to
  • newwindow: opens the manual in a new window using javascript
  • width: width of the window if newwindow is set, default 600
  • height: height of the window if newwindow is set, default 400
  • title: name of the new window if newwindow is set, default is modulename
  • class: class for use in the <a> tag
  • assign: if set, the results ( array('url', 'link') are assigned to the corresponding variable instead of printed out
Example <!--[pnmanuallink newwindow=1 width=400 height=300 title=rtfm ]-->




Tags:

return:  the link or assign an array( 'url', 'link' ) if assign is set
author:  Frank Schummertz
since:  04/26/2004


Parameters

array   $params   All attributes passed to this function from the template
object   &$smarty   Reference to the Smarty object
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:46:04 +0200 by phpDocumentor 1.4.1