jSelectorSimpleFile
in package
implements
jISelector
base class for simple file selector.
Tags
Interfaces, Classes and Traits
- jISelector
- interface of selector classes.
Table of Contents
- $file : mixed
- $_basePath : mixed
- $_path : mixed
- $type : mixed
- __construct() : mixed
- getCompiledFilePath() : string
- getCompiler() : null|object
- getPath() : string
- toString() : string
- useMultiSourceCompiler() : bool
Properties
$file
public
mixed
$file
= ''
Tags
$_basePath
protected
mixed
$_basePath
= ''
Tags
$_path
protected
mixed
$_path
Tags
$type
protected
mixed
$type
= 'simplefile'
Tags
Methods
__construct()
public
__construct(mixed $sel) : mixed
Parameters
- $sel : mixed
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