jSelectorUrlHandler
extends jSelectorClass
in package
a specific selector for user url handler
Tags
Table of Contents
- $className : mixed
- the class name specified in the selector
- $module : mixed
- $resource : mixed
- $subpath : mixed
- subpath part in the resource content
- $type : mixed
- $_cachePath : mixed
- $_cacheSuffix : mixed
- $_compiler : mixed
- $_compilerPath : mixed
- $_dirname : mixed
- $_path : mixed
- $_suffix : mixed
- $_useMultiSourceCompiler : 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
$module
public
mixed
$module
=
ull
$resource
public
mixed
$resource
=
ull
$subpath
subpath part in the resource content
public
mixed
$subpath
= ''
Tags
$type
public
mixed
$type
= 'urlhandler'
$_cachePath
protected
mixed
$_cachePath
$_cacheSuffix
protected
mixed
$_cacheSuffix
= '.php'
$_compiler
protected
mixed
$_compiler
=
ull
$_compilerPath
protected
mixed
$_compilerPath
$_dirname
protected
mixed
$_dirname
= ''
$_path
protected
mixed
$_path
$_suffix
protected
mixed
$_suffix
= '.urlhandler.php'
$_useMultiSourceCompiler
protected
mixed
$_useMultiSourceCompiler
= alse
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
_createCachePath()
protected
_createCachePath() : mixed
Return values
mixed —_createPath()
protected
_createPath() : mixed