CI_Table::clear PHP Méthode

clear() public méthode

Clears the table arrays. Useful if multiple tables are being generated
public clear ( ) : CI_Table
Résultat CI_Table
    public function clear()
    {
        $this->rows = array();
        $this->heading = array();
        $this->auto_heading = TRUE;
        return $this;
    }

Usage Example

Exemple #1
0
 function clear()
 {
     parent::clear();
     $this->row_ids = array();
 }
All Usage Examples Of CI_Table::clear