Jelix 1.6.37

jSelectorFactory
in package

Create instance of selectors object

Tags
subpackage

core_selector

Table of Contents

create()  : jISelector
Create an instance of a selector object corresponding to the given selector
__construct()  : mixed

Methods

create()

Create an instance of a selector object corresponding to the given selector

public static create(string $selstr[, bool $defaulttype = false ]) : jISelector
Parameters
$selstr : string

the selector. It should be a full selector : "type:module~resource" (not "module~resource")

$defaulttype : bool = false
Tags
throws
jExceptionSelector
Return values
jISelector

the corresponding selector

Search results