Extensive facilities for searching through label trees are provided. More...
Static Public Member Functions | |
static | ancestor ($left, $right) |
Is left argument an ancestor of right (or equal)? | |
static | descendant ($left, $right) |
Is left argument a descendant of right (or equal)? | |
static | match ($ltree, $lquery) |
static | search ($ltree, $ltxtquery) |
Public Attributes | |
const | ANCESTOR = '@>' |
const | DESCENDANT = '<@' |
const | MATCH = '~' |
const | SEARCH = '@' |
Extensive facilities for searching through label trees are provided.
Definition at line 18 of file LTreeExpression.class.php.
static LTreeExpression::ancestor | ( | $ | left, | |
$ | right | |||
) | [static] |
Is left argument an ancestor of right (or equal)?
Definition at line 30 of file LTreeExpression.class.php.
static LTreeExpression::descendant | ( | $ | left, | |
$ | right | |||
) | [static] |
Is left argument a descendant of right (or equal)?
Definition at line 40 of file LTreeExpression.class.php.
static LTreeExpression::match | ( | $ | ltree, | |
$ | lquery | |||
) | [static] |
Definition at line 48 of file LTreeExpression.class.php.
static LTreeExpression::search | ( | $ | ltree, | |
$ | ltxtquery | |||
) | [static] |
Definition at line 56 of file LTreeExpression.class.php.
const LTreeExpression::ANCESTOR = '@>' |
Definition at line 20 of file LTreeExpression.class.php.
const LTreeExpression::DESCENDANT = '<@' |
Definition at line 21 of file LTreeExpression.class.php.
const LTreeExpression::MATCH = '~' |
Definition at line 22 of file LTreeExpression.class.php.
const LTreeExpression::SEARCH = '@' |
Definition at line 23 of file LTreeExpression.class.php.