public function attach($id, $table)
    {
        $this->result->attach($id, $table);
        $this->id = $id;
    }
public function attach($id, $table)
    {
        $this->result->attach($id, $table);
        $this->id = $id;
    }
public function attach ( $ id , $ table ) { $ this -> result -> attach ( $ id , $ table ) ; $ this -> id = $ id ; }
Marks Row as attached

@param int $id
@param string $table
Marks Row as attached