original_string: public function getRecordOnClick($record)
      {
          if (!isset($this->recordOnClick)) {
              return null;
          }
  
          $recordOnClick = RouterHelper::replaceParameters($record, $this->recordOnClick);
          return Html::attributes(['onclick' => $recordOnClick]);
      }
code: public function getRecordOnClick($record)
      {
          if (!isset($this->recordOnClick)) {
              return null;
          }
  
          $recordOnClick = RouterHelper::replaceParameters($record, $this->recordOnClick);
          return Html::attributes(['onclick' => $recordOnClick]);
      }
code_tokens: public function getRecordOnClick ( $ record ) { if ( ! isset ( $ this -> recordOnClick ) ) { return null ; } $ recordOnClick = RouterHelper :: replaceParameters ( $ record , $ this -> recordOnClick ) ; return Html :: attributes ( [ 'onclick' => $ recordOnClick ] ) ; }
docstring: Returns the onclick event for a list row.
  @param  Model $record
  @return string
docstring_tokens: Returns the onclick event for a list row .