public function clear()
    {
        $this->assertOpened();
        foreach ($this->contents as $key => $value) {
            unset($this->contents[$key]);
        }
    }
public function clear()
    {
        $this->assertOpened();
        foreach ($this->contents as $key => $value) {
            unset($this->contents[$key]);
        }
    }
public function clear ( ) { $ this -> assertOpened ( ) ; foreach ( $ this -> contents as $ key => $ value ) { unset ( $ this -> contents [ $ key ] ) ; } }
Deletes all of the records.

@return void
Deletes all of the records .