abstract class XPath

Methods

static string
export(mixed $value)

Export a literal as an XPath expression

static string
exportBoolean(bool $value)

Export given boolean value

static string
exportDouble(float $value)

Export given float value

static string
exportInteger(int $value)

Export given integer value

static string
exportString(string $str)

Export a string as an XPath expression

Details

at line 20
static string export(mixed $value)

Export a literal as an XPath expression

Parameters

mixed $value

Literal, e.g. "foo"

Return Value

string

XPath expression, e.g. "'foo'"

at line 37
static protected string exportBoolean(bool $value)

Export given boolean value

Parameters

bool $value

Return Value

string

at line 48
static protected string exportDouble(float $value)

Export given float value

Parameters

float $value

Return Value

string

at line 65
static protected string exportInteger(int $value)

Export given integer value

Parameters

int $value

Return Value

string

at line 76
static protected string exportString(string $str)

Export a string as an XPath expression

Parameters

string $str

Literal, e.g. "foo"

Return Value

string

XPath expression, e.g. "'foo'"