Jelix 1.6.37

jSelectorTpl extends jSelectorModule
in package

Template selector

syntax : "module~tplName". file : templates/tplName.tpl .

Tags
subpackage

core_selector

Table of Contents

$module  : mixed
$outputType  : mixed
$resource  : mixed
$trusted  : mixed
$userFunctions  : mixed
$userModifiers  : mixed
$_cachePath  : mixed
$_cacheSuffix  : mixed
$_compiler  : mixed
$_compilerPath  : mixed
$_dirname  : mixed
$_path  : mixed
$_suffix  : mixed
$_useMultiSourceCompiler  : mixed
$_where  : mixed
$type  : mixed
__construct()  : mixed
getCompiledFilePath()  : string
getCompiler()  : object|null
getPath()  : string
toString()  : string
useMultiSourceCompiler()  : bool
_createCachePath()  : mixed
_createPath()  : mixed

Properties

Methods

__construct()

public __construct(string $sel[, string $outputtype = '' ][, bool $trusted = true ]) : mixed
Parameters
$sel : string

the template selector

$outputtype : string = ''

the type of output (html, text..) By default, it takes the response type

$trusted : bool = true

says if the template file is trusted or not

Return values
mixed

getCompiledFilePath()

public getCompiledFilePath() : string
Return values
string

file path of the compiled file (if the main file should be compiled by jelix)

getCompiler()

public getCompiler() : object|null
Return values
object|null

the compiler used to compile file

getPath()

public getPath() : string
Return values
string

file path corresponding to the resource pointing by the selector

toString()

public toString([mixed $full = false ]) : string
Parameters
$full : mixed = false

true if you want a full selector ("type:...")

Return values
string

the selector

useMultiSourceCompiler()

public useMultiSourceCompiler() : bool
Return values
bool

true if the compiler compile many file at one time

_createCachePath()

protected _createCachePath() : mixed
Return values
mixed

Search results