original_string: public static function get_all_eventlist($withoutcomponent = false) {
          if ($withoutcomponent) {
              $return = array_merge(self::get_core_eventlist(), self::get_non_core_eventlist($withoutcomponent));
              array_multisort($return, SORT_NATURAL);
          } else {
              $return = array_merge(array('core' => self::get_core_eventlist()),
                      self::get_non_core_eventlist($withoutcomponent = false));
          }
          return $return;
      }
code: public static function get_all_eventlist($withoutcomponent = false) {
          if ($withoutcomponent) {
              $return = array_merge(self::get_core_eventlist(), self::get_non_core_eventlist($withoutcomponent));
              array_multisort($return, SORT_NATURAL);
          } else {
              $return = array_merge(array('core' => self::get_core_eventlist()),
                      self::get_non_core_eventlist($withoutcomponent = false));
          }
          return $return;
      }
code_tokens: public static function get_all_eventlist ( $ withoutcomponent = false ) { if ( $ withoutcomponent ) { $ return = array_merge ( self :: get_core_eventlist ( ) , self :: get_non_core_eventlist ( $ withoutcomponent ) ) ; array_multisort ( $ return , SORT_NATURAL ) ; } else { $ return = array_merge ( array ( 'core' => self :: get_core_eventlist ( ) ) , self :: get_non_core_eventlist ( $ withoutcomponent = false ) ) ; } return $ return ; }
docstring: Get a list of events present in the system.
  
  @param bool $withoutcomponent Return an eventlist without associated components.
  
  @return array list of events present in the system.
docstring_tokens: Get a list of events present in the system .