\Smarty_Internal_Runtime_GetIncludePath

Smarty Internal Read Include Path Class

Summary

Methods
Properties
Constants
isNewIncludePath()
getIncludePathDirs()
getIncludePath()
$_include_path
$_include_dirs
$_user_dirs
$isFile
$isPath
$number
$_has_stream_include
$counter
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$_include_path

$_include_path : string

include path cache

Type

string

$_include_dirs

$_include_dirs : array

include path directory cache

Type

array

$_user_dirs

$_user_dirs : array

include path directory cache

Type

array

$isFile

$isFile : array<mixed,string>

stream cache

Type

array<mixed,string>

$isPath

$isPath : array<mixed,string>

stream cache

Type

array<mixed,string>

$number

$number : array<mixed,integer>

stream cache

Type

array<mixed,integer>

$_has_stream_include

$_has_stream_include : boolean

status cache

Type

boolean

$counter

$counter : integer

Number for array index

Type

integer

Methods

isNewIncludePath()

isNewIncludePath(\Smarty  $smarty) : boolean

Check if include path was updated

Parameters

\Smarty $smarty

Returns

boolean

getIncludePathDirs()

getIncludePathDirs(\Smarty  $smarty) : array

return array with include path directories

Parameters

\Smarty $smarty

Returns

array

getIncludePath()

getIncludePath(array<mixed,string>  $dirs, string  $file, \Smarty  $smarty) : boolean|string

Return full file path from PHP include_path

Parameters

array<mixed,string> $dirs
string $file
\Smarty $smarty

Returns

boolean|string —

full filepath or false