1
0
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:
Cameron
2022-04-04 10:54:24 -07:00
parent 813f2bf38f
commit 55980a29a8
104 changed files with 5498 additions and 1221 deletions

View File

@@ -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))