Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Frontend
Core
Engine
TemplateModifiers
getPath
Frontend\Core\Engine\TemplateModifiers::getPath PHP Method
TemplateModifiers Class Documentation
Show file
Open project: forkcms/forkcms
getPath()
public
static
method
Fetch the path for an include (theme file if available, core file otherwise) syntax: {{ getpath($file) }}
public
static
getPath
(
string
$file
) :
string
$file
string
The base path.
return
string
public static function getPath($file) { return Theme::getPath($file); }
TemplateModifiers
cleanupPlainText
count
formatDate
formatDateTime
formatFloat
formatNumber
formatTime
getNavigation
getPageInfo
getPath
getSubNavigation
getURL
getURLForBlock
getURLForExtraId
parseWidget
profileSetting
timeAgo
toLabel
userSetting