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

Class: HTML_QuickForm_datepicker

Source Location: /main/inc/lib/formvalidator/Element/datepicker.php

Class Overview

HTML_QuickForm_date
   |
   --HTML_QuickForm_datepicker

Form element to select a date and hour (with popup datepicker)


Methods



Class Details

[line 28]
Form element to select a date and hour (with popup datepicker)



[ Top ]


Class Methods


constructor HTML_QuickForm_datepicker [line 33]

HTML_QuickForm_datepicker HTML_QuickForm_datepicker( [ $elementName = null], [ $elementLabel = null], [ $attributes = null])

Constructor



Parameters:

   $elementName  
   $elementLabel  
   $attributes  

[ Top ]

method exportValue [line 98]

string exportValue( )

Export the date value in MySQL format



Tags:

return:  YYYY-MM-DD HH:II:SS


[ Top ]

method getElementJS [line 80]

void getElementJS( )

Get the necessary javascript for this datepicker



[ Top ]

method toHtml [line 72]

void toHtml( )

HTML code to display this datepicker



[ Top ]


Documentation generated on Wed, 05 Sep 2007 06:14:35 +0200 by phpDocumentor 1.4.0