1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +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

@@ -30,6 +30,11 @@ if (!defined('e107_INIT')) { exit; }
*
*/
//XXX IMPORTANT: // do not use e107 specific functions in this file - it may break secure_img_handler.
/**
*
*/
class override {
protected $functions = array();
@@ -77,10 +82,15 @@ class override {
}
return $this->override_check($override);
}
function override_function($override, $function, $include)
/**
* @param $override
* @param $function
* @param $include
* @return void
*/
function override_function($override, $function, $include)
{
if ($include)
{
@@ -93,8 +103,12 @@ class override {
$this->functions[$override] = $function;
}
/**
* @param $override
* @return false|mixed|string
*/
function override_check($override)
{
if (isset($this->includes[$override]))