Jelix 1.6.40

jSelectorIface extends jSelectorClass
in package

selector for interface

interface is stored in interfacename.iface.php file in the classes/ module directory or one of its subdirectory. syntax : "iface:module~ifacename" or "module~ifacename.

Tags
subpackage

core_selector

since
1.0.3

Table of Contents

$className  : mixed
the class name specified in the selector
$module  : mixed
$resource  : mixed
$subpath  : mixed
subpath part in the resource content
$_cachePath  : mixed
$_cacheSuffix  : mixed
$_compiler  : mixed
$_compilerPath  : mixed
$_dirname  : mixed
$_path  : mixed
$_suffix  : mixed
$_useMultiSourceCompiler  : mixed
$type  : mixed
__construct()  : mixed
getCompiledFilePath()  : string
getCompiler()  : object|null
getPath()  : string
toString()  : string
useMultiSourceCompiler()  : bool
_createCachePath()  : mixed
_createPath()  : mixed

Properties

$className

the class name specified in the selector

public mixed $className = ''
Tags
since
1.0b2

$subpath

subpath part in the resource content

public mixed $subpath = ''
Tags
since
1.0b2

Methods

__construct()

public __construct(mixed $sel) : mixed
Parameters
$sel : mixed
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

Search results