コード例 #1
0
 /**
  * @param QOM\ChildNodeInterface $constraint
  *
  * @return string
  */
 public function walkChildNodeConstraint(QOM\ChildNodeInterface $constraint)
 {
     return $this->getTableAlias($constraint->getSelectorName()) . ".parent = '" . $constraint->getParentPath() . "'";
 }
コード例 #2
0
 private function walkChildNodeConstraint(QOM\ChildNodeInterface $constraint)
 {
     $selectorName = $constraint->getSelectorName();
     $path = $constraint->getParentPath();
     return sprintf('%s:%s', $this->escape(ZendSearchAdapter::IDX_PARENTPATH), $path);
 }