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
= ''
$_basePath
protected
mixed
$_basePath
= ''
$_path
protected
mixed
$_path
$type
protected
mixed
$type
= 'simplefile'
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() : null|object
Return values
null|object —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