original_string: public function loadConfig($data)
      {
          $model = $this->getConfigModel(false);
  
          $newData = $model->loadFirst(array('grcfg_id_organization' => $data['gor_id_organization']));
          if (empty($newData)) {
              $newData = $model->loadNew();
          }
          $newData['grcfg_id_organization'] = $data['gor_id_organization'];
  
          return $newData;
      }
code: public function loadConfig($data)
      {
          $model = $this->getConfigModel(false);
  
          $newData = $model->loadFirst(array('grcfg_id_organization' => $data['gor_id_organization']));
          if (empty($newData)) {
              $newData = $model->loadNew();
          }
          $newData['grcfg_id_organization'] = $data['gor_id_organization'];
  
          return $newData;
      }
code_tokens: public function loadConfig ( $ data ) { $ model = $ this -> getConfigModel ( false ) ; $ newData = $ model -> loadFirst ( array ( 'grcfg_id_organization' => $ data [ 'gor_id_organization' ] ) ) ; if ( empty ( $ newData ) ) { $ newData = $ model -> loadNew ( ) ; } $ newData [ 'grcfg_id_organization' ] = $ data [ 'gor_id_organization' ] ; return $ newData ; }
docstring: Handles loading the config for the given data
  
  @param array $data
  @return array
docstring_tokens: Handles loading the config for the given data