/** * Gets all data that should be available in a json representation. * * @return array An associative array of the available variables. */ public function jsonSerialize() { $json = parent::jsonSerialize(); if ($this->forfetching !== null) { $json['forfetching'] = $this->forfetching; } return $json; }
/** * 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); }