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

Procedural File: function.pncalendarinput.php

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



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.pncalendarinput.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








convcallang [line 127]

void convcallang( $currentlang)



Parameters

   $currentlang  
[ Top ]



smarty_function_pncalendarinput [line 40]

string smarty_function_pncalendarinput( array $params, object &$smarty, assign 2)

Smarty function to display a calendar input control

This function displays a javascript (jscalendar) calendar control

Available parameters:

  • objectname The name of the object the field will be placed in
  • htmlname: The html fieldname under which the date value will be submitted
  • dateformat: The dateformat to use for displaying the chosen date
  • defaultstring: The String to display before a value has been selected
  • defaultdate: The Date the calendar should to default to (format: Y/m/d)
  • hidden: Boolean to show a hidden input or not
  • display: Boolean to show a display output (when date is added in a hidden field)
  • class: The class to apply to the html elements
  • time: If set show time selection
Example <!--[pncalendarinput objectname=myobject htmlname=from dateformat='%Y-%m-%d' defaultdate='2005/12/31']-->




Tags:

return:  the language constant
author:  Robert Gasch
author:  Mark West
since:  25/10/2005


Parameters

array   $params   All attributes passed to this function from the template
object   &$smarty   Reference to the Smarty object
assign   2   The smarty variable to assign the resulting menu HTML to
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:45:37 +0200 by phpDocumentor 1.4.1