예제 #1
0
 /**
  * SearchCall constructor.
  *
  * @param \CventQuery\CventConnection $connection
  * @param                             $data
  */
 public function __construct(CventObjectInterface $cventObject)
 {
     parent::__construct(self::SEARCH_CALL_NAME, $cventObject->type());
     $this->cvSearchObject = new stdClass();
     $this->cvSearchObject->SearchType = self::OR_SEARCH;
     $this->filters = [];
 }
예제 #2
0
 public function __construct(CventObjectInterface $cventObject)
 {
     parent::__construct(self::RETRIEVE_CALL_NAME, $cventObject->type());
 }