/**
  * Loops through the authorization array
  * 
  */
 public function loop($array = null)
 {
     //reasons to fail
     if (is_null($array)) {
         return false;
     }
     if (!is_array($array)) {
         return false;
     }
     //Populating class properties
     $user =& JFactory::getUser();
     if ($user->guest) {
         $user->usertype = 'Public';
     }
     foreach ($array as $group => $pages) {
         foreach ($pages as $page) {
             //reasons to continue
             if (strlen(trim($group)) < 1) {
                 continue;
             }
             if (strlen(trim($page)) < 1) {
                 continue;
             }
             eHelper::eb_acl($page, $group);
         }
     }
     return true;
 }