}
/**
- * @param array <String,SimpleXMLElement> $xml
+ * Class constructor.
+ *
+ * @param array $allCaseTypes
+ * @param array $xml
*/
public function __construct($allCaseTypes = NULL, $xml = array()) {
$this->allCaseTypes = $allCaseTypes;
}
/**
+ * Retrieve case.
+ *
* @param string $caseType
- * @return SimpleXMLElement|FALSE
+ *
+ * @return FALSE|\SimpleXMLElement
+ * @throws \CRM_Core_Exception
*/
public function retrieve($caseType) {
// check if xml definition is defined in db
}
/**
+ * Retrieve file.
+ *
* @param string $caseType
* @return SimpleXMLElement|FALSE
*/
}
/**
+ * Find xml file.
+ *
* @param string $caseType
* @return null|string
* file path