modules/Search/Search/libraries/search_tags.php
/**
	 * Adds the page URL to the articles array
	 *
	 * @param $articles
	 */
Adds the page URL to the articles array
@param $articles
Adds the page URL to the articles array @param $articles
protected static function init_pages_urls(&$articles)
	{
		foreach($articles as &$article)
		{
			$segments = explode('/', $article['url']);
			array_pop($segments);
			$article['page_url'] = implode('/', $segments) . '/';
		}
	}
protected static function init_pages_urls ( & $ articles ) { foreach ( $ articles as & $ article ) { $ segments = explode ( '/' , $ article [ 'url' ] ) ; array_pop ( $ segments ) ; $ article [ 'page_url' ] = implode ( '/' , $ segments ) . '/' ; } }
Adds the page URL to the articles array
 @param $articles
Adds the page URL to the articles array @param $articles