original_string: public function getSearchedEntities()
      {
          $entities = array();
  
          if (!empty($_REQUEST['Entities'])) {
              if (is_array($_REQUEST['Entities'])) {
                  $entities = Convert::raw2att($_REQUEST['Entities']);
              } else {
                  $entities = explode(',', Convert::raw2att($_REQUEST['Entities']));
                  $entities = array_combine($entities, $entities);
              }
          }
          
          return $entities;
      }
code: public function getSearchedEntities()
      {
          $entities = array();
  
          if (!empty($_REQUEST['Entities'])) {
              if (is_array($_REQUEST['Entities'])) {
                  $entities = Convert::raw2att($_REQUEST['Entities']);
              } else {
                  $entities = explode(',', Convert::raw2att($_REQUEST['Entities']));
                  $entities = array_combine($entities, $entities);
              }
          }
          
          return $entities;
      }
code_tokens: public function getSearchedEntities ( ) { $ entities = array ( ) ; if ( ! empty ( $ _REQUEST [ 'Entities' ] ) ) { if ( is_array ( $ _REQUEST [ 'Entities' ] ) ) { $ entities = Convert :: raw2att ( $ _REQUEST [ 'Entities' ] ) ; } else { $ entities = explode ( ',' , Convert :: raw2att ( $ _REQUEST [ 'Entities' ] ) ) ; $ entities = array_combine ( $ entities , $ entities ) ; } } return $ entities ; }
docstring: Return an array of folders and titles
  
  @return array
docstring_tokens: Return an array of folders and titles