public static function table($id, $data, $action = [], $pkey = [], $config = []) { if (self::$ignore) { Table::ignore(self::$ignore); } else { if (self::$only) { Table::only(self::$only); } } // prepara a tabela com o dados passados. Table::Rows(is_array($id) ? $id : ['id' => $id], $data, $action, $pkey, $config); // retorna a tabela montanda. echo Table::Show(); }