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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user