Jelix 1.8.8

jSelectorLoc extends jSelectorModule
in package

selector for localisation string.

localisation string are stored in file properties. syntax : "module~prefixFile.keyString". Corresponding file : locales/xx_XX/prefixFile.CCC.properties. xx_XX and CCC are lang and charset set in the configuration

Tags
subpackage

core_selector

Table of Contents

$_compiler  : mixed
$charset  : mixed
$fileKey  : mixed
$locale  : mixed
$messageKey  : mixed
$module  : mixed
$resource  : mixed
$_cachePath  : mixed
$_cacheSuffix  : mixed
$_compilerPath  : mixed
$_dirname  : mixed
$_path  : mixed
$_suffix  : mixed
$_useMultiSourceCompiler  : mixed
$_where  : mixed
$type  : mixed
__construct()  : mixed
getCompiledFilePath()  : string
getCompiler()  : null|object
getPath()  : string
toString()  : string
useMultiSourceCompiler()  : bool
_createCachePath()  : mixed
_createPath()  : mixed
findPath()  : mixed

Properties

Methods

__construct()

public __construct(mixed $sel[, mixed $locale = null ][, mixed $charset = null ]) : mixed
Parameters
$sel : mixed
$locale : mixed = null
$charset : mixed = null
Tags
Return values
mixed

getCompiledFilePath()

public getCompiledFilePath() : string
Tags
Return values
string

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

getCompiler()

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

the compiler used to compile file

getPath()

public getPath() : string
Tags
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:...")

Tags
Return values
string

the selector

useMultiSourceCompiler()

public useMultiSourceCompiler() : bool
Tags
Return values
bool

true if the compiler compile many file at one time

_createCachePath()

protected _createCachePath() : mixed
Tags
Return values
mixed

findPath()

protected findPath(mixed $locale) : mixed
Parameters
$locale : mixed
Tags
Return values
mixed

Search results