Class Horde_Core_Ui_JsCalendar
The Horde_Core_Ui_JsCalendar:: class generates the necessary javascript
code to allow the javascript calendar widget to be displayed on the page.
Copyright 2009-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
Methods summary
public static
|
#
init( array $params = array() )
Output the necessary javascript code to allow display of the calendar
widget.
Output the necessary javascript code to allow display of the calendar
widget.
Parameters
- $params
- Configuration parameters for the widget:
<pre><span class="php-quote">'click_month'</span> - (boolean) <span class="php-keyword1">If</span> <span class="php-keyword1">true</span>, the month is clickable.
<span class="php-keyword1">DEFAULT</span>: <span class="php-keyword1">false</span>
<span class="php-quote">'click_week'</span> - (boolean) <span class="php-keyword1">If</span> <span class="php-keyword1">true</span>, will display a clickable week.
<span class="php-keyword1">DEFAULT</span>: <span class="php-keyword1">false</span>
<span class="php-quote">'click_year'</span> - (boolean) <span class="php-keyword1">If</span> <span class="php-keyword1">true</span>, the year is clickable.
<span class="php-keyword1">DEFAULT</span>: <span class="php-keyword1">false</span>
<span class="php-quote">'full_weekdays'</span> - (boolean) Add full weekday localized <span class="php-keyword1">list</span> to
javascript object.
<span class="php-keyword1">DEFAULT</span>: <span class="php-keyword1">false</span>
<span class="php-quote">'short_weekdays'</span> - (boolean) Display only the first letter of
weekdays?
<span class="php-keyword1">DEFAULT</span>: <span class="php-keyword1">false</span></pre>
|
public static
array
|
#
weekdays( )
Return the list of localized abbreviated weekdays.
Return the list of localized abbreviated weekdays.
Returns
array Abbreviated weekdays.
|
public static
array
|
#
fullWeekdays( )
Return the list of localized full weekday names.
Return the list of localized full weekday names.
Returns
array Full weekday names.
|
public static
array
|
#
months( )
Return the localized list of months.
Return the localized list of months.
Returns
array Month list.
|