Exemplo n.º 1
0
 /**
  * Read the given expand clause and build 'Projection Tree', 
  * do nothing if the clause is null
  * 
  * @param string $expand Value of $expand clause.
  * 
  * @return void
  * 
  * @throws ODataException If any error occurs while reading expand clause
  *                        or building the projection tree
  */
 private function _parseExpand($expand)
 {
     if (!is_null($expand)) {
         $pathSegments = $this->_readExpandOrSelect($expand, false);
         $this->_buildProjectionTree($pathSegments);
         $this->_rootProjectionNode->setExpansionSpecified();
     }
 }