public static function init(array $attributes = array()) {
        self::$table_attributes = array();
        self::$rows = array();
        self::$row_data = array();
        self::$headers = array();
        self::$footers = array();

        self::setAttributes($attributes);
    }
public static function init(array $attributes = array()) {
        self::$table_attributes = array();
        self::$rows = array();
        self::$row_data = array();
        self::$headers = array();
        self::$footers = array();

        self::setAttributes($attributes);
    }
public static function init ( array $ attributes = array ( ) ) { self :: $ table_attributes = array ( ) ; self :: $ rows = array ( ) ; self :: $ row_data = array ( ) ; self :: $ headers = array ( ) ; self :: $ footers = array ( ) ; self :: setAttributes ( $ attributes ) ; }
Sets up a new table
@param array $attributes [optional] Array of attr => value
Sets up a new table