Ejemplo n.º 1
0
 public function __construct(AbstractNode $parent, $field)
 {
     list($alias, $field) = $this->explodeField($field);
     $this->field = $field;
     $this->alias = $alias;
     parent::__construct($parent);
 }
 public function __construct($parent, $alias1Name, $alias2Name, $alias2Path)
 {
     $this->alias1Name = $alias1Name;
     $this->alias2Name = $alias2Name;
     $this->alias2Path = $alias2Path;
     parent::__construct($parent);
 }
 public function __construct(AbstractNode $parent, $field, $fullTextSearchExpression)
 {
     list($alias, $field) = $this->explodeField($field);
     $this->alias = $alias;
     $this->field = $field;
     $this->fullTextSearchExpression = $fullTextSearchExpression;
     parent::__construct($parent);
 }
Ejemplo n.º 4
0
 public function __construct(AbstractNode $parent, $documentFqn, $alias)
 {
     if (!is_string($alias) || empty($alias)) {
         throw new InvalidArgumentException(sprintf('The alias for %s must be a non-empty string.', $documentFqn));
     }
     $this->documentFqn = $documentFqn;
     $this->alias = $alias;
     parent::__construct($parent);
 }
Ejemplo n.º 5
0
 public function __construct($parent, $field1, $field2)
 {
     list($alias1, $property1) = $this->explodeField($field1);
     list($alias2, $property2) = $this->explodeField($field2);
     parent::__construct($parent);
     $this->property1 = $property1;
     $this->alias1 = $alias1;
     $this->property2 = $property2;
     $this->alias2 = $alias2;
 }
 /**
  * Constructor
  *
  * @param string $descendantAlias
  * @param string $ancestorAlias
  */
 public function __construct($parent, $descendantAlias, $ancestorAlias)
 {
     $this->ancestorAliasNode = (string) $ancestorAlias;
     $this->descendantAlias = (string) $descendantAlias;
     parent::__construct($parent);
 }