Jelix 1.8.14-pre

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

__construct()

private __construct() : mixed
Tags
Return values
mixed

Search results