Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page function.pncalendarinput.php

Procedural File: function.pncalendarinput.php

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

Classes:



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.pncalendarinput.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  (c) 2004, Zikula Development Team
link:  http://www.zikula.org
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 ]


Packages:

Files:

Classes: