1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 03:54:09 +02:00

PHPDoc fixes and code optimization.

This commit is contained in:
Cameron
2021-12-03 14:58:33 -08:00
parent aff6daf590
commit 0d8f3e9086
73 changed files with 241 additions and 210 deletions

View File

@@ -64,12 +64,13 @@ class ecache {
}
/**
* @return string
* @param string $query
* @desc Internal class function that returns the filename of a cache file based on the query.
* @scope private
* If the tag begins 'menu_', e_QUERY is not included in the hash which creates the file name
*/
* @param $CacheTag
* @param bool $syscache
* @return string
* @desc Internal class function that returns the filename of a cache file based on the query.
* @scope private
* If the tag begins 'menu_', e_QUERY is not included in the hash which creates the file name
*/
function cache_fname($CacheTag, $syscache = false)
{
if(strpos($CacheTag, "nomd5_") === 0) {
@@ -226,7 +227,7 @@ class ecache {
* @param boolean $ForceCache [optional] if TRUE, writes cache even when disabled in admin prefs.
* @param boolean $bRaw [optional] if TRUE, writes data exactly as provided instead of prefacing with php leadin
* @param boolean $syscache [optional]
* @return none
* @return void|null
*/
public function set($CacheTag, $Data, $ForceCache = false, $bRaw=0, $syscache = false)
{