original_string: protected function loadData($offset)
      {
          if (!$this->loaded && !$this->isNew) {
              if (is_numeric($offset) || is_null($offset)) {
                  $this->findAll();
              } else {
                  $this->find();
              }
          }
      }
code: protected function loadData($offset)
      {
          if (!$this->loaded && !$this->isNew) {
              if (is_numeric($offset) || is_null($offset)) {
                  $this->findAll();
              } else {
                  $this->find();
              }
          }
      }
code_tokens: protected function loadData ( $ offset ) { if ( ! $ this -> loaded && ! $ this -> isNew ) { if ( is_numeric ( $ offset ) || is_null ( $ offset ) ) { $ this -> findAll ( ) ; } else { $ this -> find ( ) ; } } }
docstring: Load record by array offset
  
  @param int|string $offset
docstring_tokens: Load record by array offset