archangeldesign/ad-renderer

PHP Renderer module for rendering HTML, XML, JSON, YML

dev-master 2017-01-21 17:39 UTC

This package is auto-updated.

Last update: 2025-03-26 04:02:15 UTC


README

copyright (c) www.archangel-design.com

Rafal Martinez-Marjanski

** One way to render every output **

Supportet formats

  • HTML
  • XML
  • JSON
  • YML

============================================================================

<?php

// simple usage
$table = new ADRenderer\HtmlRenderer\Table("table-id", "table-class", "width:100%; display:block");
$table->addHeader(["Column 1", "Column 2"]);
$table->addRow(["value 1", "value 2"]);

echo $table->getRendered();

// advanced usage

?>

============================================================================