ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
PrincipalSearchPropertySetReport.php
Go to the documentation of this file.
1 <?php
2 
4 
8 
22 
44  static function xmlDeserialize(Reader $reader) {
45 
46  if (!$reader->isEmptyElement) {
47  throw new BadRequest('The {DAV:}principal-search-property-set element must be empty');
48  }
49 
50  // The element is actually empty, so there's not much to do.
51  $reader->next();
52 
53  $self = new self();
54  return $self;
55 
56  }
57 
58 }
static xmlDeserialize(Reader $reader)
The deserialize method is called during xml parsing.
The Reader class expands upon PHP&#39;s built-in XMLReader.
Definition: Reader.php:20
Implementing the XmlDeserializable interface allows you to use a class as a deserializer for a specif...