original_string: protected function getId($tableName, $where = null)
      {
          $record = $this->getRecord($tableName, $where);
          return $record ? $record->id : null;
      }
code: protected function getId($tableName, $where = null)
      {
          $record = $this->getRecord($tableName, $where);
          return $record ? $record->id : null;
      }
code_tokens: protected function getId ( $ tableName , $ where = null ) { $ record = $ this -> getRecord ( $ tableName , $ where ) ; return $ record ? $ record -> id : null ; }
docstring: Returns id of random record from given table.
  @param string $tableName
  @return int
docstring_tokens: Returns id of random record from given table .