original_string: public function loadBean($id)
      {
          if ($this->currentBean != null) {
              throw new BeanNotNullException();
          }
  
          $this->currentBean = R::load($this->tableName, $id);
      }
code: public function loadBean($id)
      {
          if ($this->currentBean != null) {
              throw new BeanNotNullException();
          }
  
          $this->currentBean = R::load($this->tableName, $id);
      }
code_tokens: public function loadBean ( $ id ) { if ( $ this -> currentBean != null ) { throw new BeanNotNullException ( ) ; } $ this -> currentBean = R :: load ( $ this -> tableName , $ id ) ; }
docstring: Load a bean.
  For Edit and Create only.
  Before rendering the edit or Create page, you have to load a bean first.
  @param $id
  @throws BeanNotNullException You can load one time only.
docstring_tokens: Load a bean . For Edit and Create only . Before rendering the edit or Create page you have to load a bean first .