Index: branches/5.2.x/core/kernel/application.php =================================================================== diff -u -N -r14628 -r14653 --- branches/5.2.x/core/kernel/application.php (.../application.php) (revision 14628) +++ branches/5.2.x/core/kernel/application.php (.../application.php) (revision 14653) @@ -1,6 +1,6 @@ UrlManager->HREF($t, $prefix, $params, $index_file); } - function getPhysicalTemplate($template) + /** + * Returns theme template filename and it's corresponding page_id based on given seo template + * + * @param string $seo_template + * @return string + * @access public + */ + public function getPhysicalTemplate($seo_template) { - return $this->UrlManager->getPhysicalTemplate($template); + return $this->UrlManager->getPhysicalTemplate($seo_template); } /** - * Returns variables with values that should be passed throught with this link + variable list + * Returns template name, that corresponds with given virtual (not physical) page id * + * @param int $page_id + * @return string|bool + * @access public + */ + public function getVirtualPageTemplate($page_id) + { + return $this->UrlManager->getVirtualPageTemplate($page_id); + } + + /** + * Returns variables with values that should be passed through with this link + variable list + * * @param Array $params * @return Array */