+ /**
+ * Set the active tab
+ *
+ * @param string $default
+ *
+ * @throws \CRM_Core_Exception
+ */
+ public function setSelectedChild($default = NULL) {
+ $selectedChild = CRM_Utils_Request::retrieve('selectedChild', 'Alphanumeric', $this, FALSE, $default);
+ if (!empty($selectedChild)) {
+ $this->set('selectedChild', $selectedChild);
+ $this->assign('selectedChild', $selectedChild);
+ }
+ }
+