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

Procedural File: function.pnmodishooked.php

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



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.pnmodishooked.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_pnmodishooked [line 39]

bool smarty_function_pnmodishooked( array $params, object &$smarty)

Smarty function to check for the availability of a module

This function calls pnModIsHooked to determine if two Zikula modules are hooked together. True is returned if the modules are hooked, false otherwise. The result can also be assigned to a template variable.

Available parameters:

  • tmodname: The well-known name of the hook module
  • smodname: The well-known name of the calling module
  • assign: The name of a variable to which the results are assigned
Examples <!--[pnmodishooked tmodname="Ratings" smodname="News"]-->

<!--[pnmodishooked tmodname="bar" smodname="foo" assign=barishookedtofoo]--> <!--[if $barishookedtofoo]-->.....<!--[/if]-->




Tags:

return:  true if the module is available; false otherwise
author:  Mark West
see:  function.pnmodishooked.php::smarty_function_pnmodishooked()
since:  25/1/2005


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:07 +0200 by phpDocumentor 1.4.1