/**
  * function getHTML
  * <pre>
  * This method returns the HTML data generated by this object.
  * </pre>
  * @return [STRING] HTML Display data.
  */
 function getHTML()
 {
     // Uncomment the following line if you want to create a template
     // tailored for this page:
     $path = $this->pathModuleRoot . 'templates/';
     $this->template = new Template($path);
     // store the form action information
     $this->template->set('formAction', $this->formAction);
     // store the page labels in XML format...
     // NOTE: use this location to update any label tags ...
     // example:
     $account = new RowManager_ViewerManager($this->viewer_id);
     $name = $account->getUserID();
     $this->labels->setLabelTag('[Title]', '[viewerUserID]', $name);
     $this->labels->setLabelTag('[Instr]', '[viewerUserID]', $name);
     $this->template->setXML('pageLabels', $this->labels->getLabelXML());
     /*
      * Form related Template variables:
      */
     // compile list of Access Categories and Related Access Groups
     $categoryArray = array();
     $categoryManager = new RowManager_AccessCategoryManager();
     $seriesKey = moduleAccountAdmin::MULTILINGUAL_SERIES_KEY;
     $pageKey = $categoryManager->getXMLNodeName();
     $multilingualContext = new MultilingualManager($this->viewer->getLanguageID(), $seriesKey, $pageKey);
     $bridgeManager = new RowLabelBridge($categoryManager, $multilingualContext);
     $groupMultiLingualContext = new MultilingualManager($this->viewer->getLanguageID(), $seriesKey, RowManager_AccessGroupManager::XML_NODE_NAME);
     $accessCategoryList = $bridgeManager->getListIterator();
     //        $accessCategoryList = new AccessCategoryList();
     $accessCategoryList->setFirst();
     while ($accessCategory = $accessCategoryList->getNext()) {
         //            $accessGroupList = new AccessGroupList( $accessCategory->getID() );
         $name = $accessCategory->getLabel();
         $groupManager = new RowManager_AccessGroupManager();
         $groupManager->setAccessCategoryID($accessCategory->getID());
         $bridgeManager = $groupManager->getRowLabelBridge($groupMultiLingualContext);
         $accessGroupList = $bridgeManager->getListIterator();
         $categoryArray[$name] = $accessGroupList->getDropListArray();
     }
     $this->template->set('accessCategories', $categoryArray);
     // load the current Groups associated with this account
     $this->template->set('currentGroups', $this->currentGroupList);
     $this->template->set('buttonText', $this->labels->getLabel('[Update]'));
     // return the HTML content for this page
     $templateName = 'page_AccountAccess.php';
     return $this->template->fetch($templateName);
 }
 /**
  * function getHTML
  * <pre>
  * This method returns the HTML data generated by this object.
  * </pre>
  * @return [STRING] HTML Display data.
  */
 function getHTML()
 {
     // Uncomment the following line if you want to create a template
     // tailored for this page:
     $path = $this->pathModuleRoot . 'templates/';
     // Otherwise use the standard Templates for the site:
     //$path = SITE_PATH_TEMPLATES;
     /*
      * Update any label tags ...
      */
     // example:
     // $name = $user->getName();
     // $this->labels->setLabelTag( '[Title]', '[userName]', $name);
     $this->dataManager = new RowManager_ViewerManager($this->viewer_id);
     $changedViewer = new RowManager_ViewerManager($this->changedViewerID);
     $userID = $changedViewer->getUserID();
     $this->labels->setLabelTag('[Instr]', '[viewerUserID]', $userID);
     $this->linkLabels['cont'] = $this->labels->getLabel('[Continue]');
     // NOTE:  this parent method prepares the $this->template with the
     // common Display data.
     $this->prepareTemplate($path);
     // uncomment this line if you are creating a template for this page
     $templateName = 'page_PasswordChanged.php';
     // otherwise use the generic site template
     //$templateName = '';
     return $this->template->fetch($templateName);
 }