Example #1
0
 /**
  * Gets a list of children of a specified folder.
  * @param string $Item The full path name of the parent folder.
  * @param bool $Recursive A Boolean expression that indicates whether to
  *         return the entire tree of child items below the specified item.
  *         The default value is false.
  * @return CatalogItem[] An array of CatalogItem objects. If no children
  *         exist, this method returns an empty CatalogItem object.
  */
 public function ListChildren($Item = "/", $Recursive = true)
 {
     $parameters = array('Item' => $Item, 'Recursive' => $Recursive);
     try {
         $stdObject = $this->_soapHandle_Mgt->ListChildren($parameters);
         $catalogItemCollection = SSRSTypeFactory::CreateSSRSObject('CatalogItemCollection', $stdObject);
         return $catalogItemCollection->CatalogItems;
     } catch (SoapFault $soapFault) {
         self::ThrowReportException($soapFault);
     }
 }