Generic Action selector
main syntax: "module~action@requestType". module should be a valid module name or # (#=says to get the module of the current request). action should be an action name (controller:method or controller_method). all part are optional, but it should have one part at least.
| package |
jelix |
|---|---|
| subpackage |
core_selector |
__construct( $sel)
_createCachePath()
_createPath()
getClass()
getCompiledFilePath() : string
stringfile path of the compiled file (if the main file should be compiled by jelix)
getCompiler() : object|null
object|nullthe compiler used to compile file
getPath() : string
stringfile path corresponding to the resource pointing by the selector
isEqualTo(\jSelectorActFast $otherAction)
toString(boolean $full = false) : string
booleantrue if you want a full selector ("type:...")
stringthe selector
useMultiSourceCompiler() : boolean
booleantrue if the compiler compile many file at one time
forUrl :
type :
request : string
| var |
type of request |
|---|
string
controller :
method :
_dirname :
module :
resource :
_suffix :
_cacheSuffix :
_path :
_cachePath :
_compiler :
_compilerPath :
_useMultiSourceCompiler :