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

@@ -68,6 +68,8 @@ class news_gsitemap
/**
* Used above and by gsitemap/e_event.php to update the URL when changed in news, pages etc.
*
* @param $table
* @param $row
* @return string
*/

View File

@@ -784,10 +784,11 @@ class news_front
}
/**
* @param $cache_tag
* @param string $type 'title' or 'diz' or 'rows' or empty for html.
*/
/**
* @param $cachetag
* @param string $type 'title' or 'diz' or 'rows' or empty for html.
* @return array|false|string
*/
private function getNewsCache($cachetag, $type=null)
{
if(!empty($type))