Horde_Core_Script_Package_Datejs
extends Horde_Script_Package
in package
This class identifies the javascript necessary to output the date.js javascript code to the browser.
Copyright 2012-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
Properties
- $_files : array<string|int, mixed>
- Javascript files to add to the page output.
Methods
- __construct() : mixed
- Constructor.
- getIterator() : Traversable
- translateFormat() : string
- Translates date format strings from strftime to datejs.
Properties
$_files
Javascript files to add to the page output.
protected
array<string|int, mixed>
$_files
= array()
Methods
__construct()
Constructor.
public
__construct() : mixed
getIterator()
public
getIterator() : Traversable
Return values
TraversabletranslateFormat()
Translates date format strings from strftime to datejs.
public
static translateFormat(string $format) : string
Parameters
- $format : string
-
A date format string in strftime syntax.
Return values
string —The date format string in datejs format.