original_string: protected function applyTextMarker()
      {
          $model = $this->getModel();
  
          $textKey = $model->getTextFilter();
          $filter  = $model->getFilter();
  
          if (isset($filter[$textKey])) {
              $searchText = $filter[$textKey];
              // \MUtil_Echo::r('[' . $searchText . ']');
              $marker = new \MUtil_Html_Marker($model->getTextSearches($searchText), 'strong', 'UTF-8');
              foreach ($model->getItemNames() as $name) {
                  if ($model->get($name, 'label')) {
                      $model->set($name, 'markCallback', array($marker, 'mark'));
                  }
              }
          }
      }
code: protected function applyTextMarker()
      {
          $model = $this->getModel();
  
          $textKey = $model->getTextFilter();
          $filter  = $model->getFilter();
  
          if (isset($filter[$textKey])) {
              $searchText = $filter[$textKey];
              // \MUtil_Echo::r('[' . $searchText . ']');
              $marker = new \MUtil_Html_Marker($model->getTextSearches($searchText), 'strong', 'UTF-8');
              foreach ($model->getItemNames() as $name) {
                  if ($model->get($name, 'label')) {
                      $model->set($name, 'markCallback', array($marker, 'mark'));
                  }
              }
          }
      }
code_tokens: protected function applyTextMarker ( ) { $ model = $ this -> getModel ( ) ; $ textKey = $ model -> getTextFilter ( ) ; $ filter = $ model -> getFilter ( ) ; if ( isset ( $ filter [ $ textKey ] ) ) { $ searchText = $ filter [ $ textKey ] ; // \MUtil_Echo::r('[' . $searchText . ']'); $ marker = new \ MUtil_Html_Marker ( $ model -> getTextSearches ( $ searchText ) , 'strong' , 'UTF-8' ) ; foreach ( $ model -> getItemNames ( ) as $ name ) { if ( $ model -> get ( $ name , 'label' ) ) { $ model -> set ( $ name , 'markCallback' , array ( $ marker , 'mark' ) ) ; } } } }
docstring: Make sure generic search text results are marked
  
  @return void
docstring_tokens: Make sure generic search text results are marked