Ejemplo n.º 1
0
 /**
  * Constructs a PropertyRequest.
  *
  * @param array $parameters An array of parameters to initialize the {@link PropertyRequest} with.
  * - <b>forfetching</b> - Whether this property should be included in the SearchResult.
  */
 public function __construct($parameters = [])
 {
     parent::__construct($parameters);
     $this->forfetching = true;
     if (isset($parameters['forfetching'])) {
         $this->setForfetching($parameters['forfetching']);
     }
 }
Ejemplo n.º 2
0
 /**
  * Creates a PropertyRequest.
  * @param string $systemName The system name of the property.
  * @author Björn Hjortsten
  * @return PropertyRequest
  */
 public function __construct($systemName)
 {
     parent::__construct($systemName, null, PropertyCriteria::EQUAL, true);
 }