jSelectorLib
extends jSelectorSimpleFile
in package
Selector for files stored in the lib directory
Tags
Table of Contents
- $file : mixed
- $_basePath : mixed
- $_path : mixed
- $type : mixed
- __construct() : mixed
- getCompiledFilePath() : string
- getCompiler() : object|null
- getPath() : string
- toString() : string
- useMultiSourceCompiler() : bool
Properties
$file
public
mixed
$file
= ''
$_basePath
protected
mixed
$_basePath
= ''
$_path
protected
mixed
$_path
$type
protected
mixed
$type
= 'lib'
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