mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 00:27:45 +02:00
Generated PHPDoc for all classes in e107_handlers where one was missing. toNumber() updated to always return int or float.
This commit is contained in:
@@ -11,8 +11,12 @@
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
//e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE."/lan_date.php");
|
||||
e107::coreLan('date');
|
||||
e107::coreLan('date');
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class e_date
|
||||
{
|
||||
|
||||
@@ -797,9 +801,10 @@ class e_date
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param $mode
|
||||
* @return bool
|
||||
*/
|
||||
function supported($mode = FALSE)
|
||||
{
|
||||
$strftimeFormats = array(
|
||||
@@ -912,6 +917,10 @@ class e_date
|
||||
return in_array($timezone, timezone_identifiers_list());
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $datestamp
|
||||
* @return array
|
||||
*/
|
||||
public function dateFormats($datestamp = null)
|
||||
{
|
||||
if(empty($datestamp))
|
||||
@@ -953,6 +962,10 @@ class e_date
|
||||
return $ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $datestamp
|
||||
* @return array
|
||||
*/
|
||||
function timeFormats($datestamp=null)
|
||||
{
|
||||
if(empty($datestamp))
|
||||
|
Reference in New Issue
Block a user