/** * @param QOM\SameNodeInterface $constraint * * @return string */ public function walkSameNodeConstraint(QOM\SameNodeInterface $constraint) { return $this->getTableAlias($constraint->getSelectorName()) . ".path = '" . $constraint->getPath() . "'"; }
private function walkSameNodeConstraint(QOM\SameNodeInterface $constraint) { $selectorName = $constraint->getSelectorName(); $path = $constraint->getPath(); return sprintf('%s:%s', $this->escape(ZendSearchAdapter::IDX_PATH), $path); }