Source for file function.pnformcategorycheckboxlist.php
Documentation is available at function.pnformcategorycheckboxlist.php
* Category checkbox list plugin
* @copyright (c) 2006, Zikula Development Team
* @link http://www.zikula.org
* @version $Id: function.pnformdropdownlist.php 22138 2007-06-01 10:19:14Z markwest $
* @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
* @package Zikula_Template_Plugins
/** Make sure to use require_once() instead of Loader::requireOnce() since "function.xxx.php"
is loaded by Smarty (the base render class) with the use of require_once(). We do not want to
get in conflict with that.*/
require_once 'system/pnForm/plugins/function.pnformcheckboxlist.php';
require_once 'system/pnForm/plugins/function.pnformcategoryselector.php';
* This plugin creates a category selector using a series of checkboxes
function load(&$render, $params)
parent::load($render, $params);
$result = parent::render($render);
$result .= "<a href=\"$url\">" . _EDIT . '</a>';
return $render->pnFormRegisterPlugin('pnFormCategoryCheckboxList', $params);
|