jSelectorClass
extends jSelectorModule
in package
selector for business class.
business class is a class stored in classname.class.php file in the classes/ module directory or one of its subdirectory. syntax : "module~classname" or "module~classname.
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.
- $_cachePath : mixed
- $_cacheSuffix : mixed
- $_compiler : mixed
- $_compilerPath : mixed
- $_dirname : mixed
- $_path : mixed
- $_suffix : mixed
- $_useMultiSourceCompiler : mixed
- $type : mixed
- __construct() : mixed
- getCompiledFilePath() : string
- getCompiler() : null|object
- 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
Tags
$resource
public
mixed
$resource
Tags
$subpath
subpath part in the resource content.
public
mixed
$subpath
= ''
Tags
$_cachePath
protected
mixed
$_cachePath
Tags
$_cacheSuffix
protected
mixed
$_cacheSuffix
= '.php'
Tags
$_compiler
protected
mixed
$_compiler
Tags
$_compilerPath
protected
mixed
$_compilerPath
Tags
$_dirname
protected
mixed
$_dirname
= 'classes/'
Tags
$_path
protected
mixed
$_path
Tags
$_suffix
protected
mixed
$_suffix
= '.class.php'
Tags
$_useMultiSourceCompiler
protected
mixed
$_useMultiSourceCompiler
= \false
Tags
$type
protected
mixed
$type
= 'class'
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
_createCachePath()
protected
_createCachePath() : mixed
Tags
Return values
mixed —_createPath()
protected
_createPath() : mixed