original_string: public function init($table, $data = array(), $isNew = true)
      {
          $class = $this->getRecordClass($table);
          return new $class(array(
              'wei'       => $this->wei,
              'db'        => $this,
              'table'     => $table,
              'isNew'     => $isNew,
              'data'      => $data,
          ));
      }
code: public function init($table, $data = array(), $isNew = true)
      {
          $class = $this->getRecordClass($table);
          return new $class(array(
              'wei'       => $this->wei,
              'db'        => $this,
              'table'     => $table,
              'isNew'     => $isNew,
              'data'      => $data,
          ));
      }
code_tokens: public function init ( $ table , $ data = array ( ) , $ isNew = true ) { $ class = $ this -> getRecordClass ( $ table ) ; return new $ class ( array ( 'wei' => $ this -> wei , 'db' => $ this , 'table' => $ table , 'isNew' => $ isNew , 'data' => $ data , ) ) ; }
docstring: Init a record instance
  
  @param string $table The name of database table
  @param array $data The data for table record
  @param bool $isNew Whether it's a new record and have not save to database
  @return Record
docstring_tokens: Init a record instance