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