2017 © Pedro Peláez
 

library html

image

jjok/html

  • Thursday, December 19, 2013
  • by jjok
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

HTML

Build Status, (*1)

Examples

use jjok\HTML\SelfClosingElement;

echo new SelfClosingElement(
    'img',
    array(
        'src' => 'some-image.png',
        'alt' => 'My image',
        'width' => '400',
        'height' => '300'
    )
);

// <img src="some-image.png" alt="My image" width="400" height="300"/>


use jjok\HTML\Element;

echo new Element(
    'span',
    'Some text content',
    array(
        'class' => 'my-class'
    )
);

// <span class="my-class">Some text content</span>

Copyright (c) 2013 Jonathan Jefferies, (*2)

The Versions

19/12 2013

dev-master

9999999-dev https://github.com/jjok/HTML

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

19/12 2013

0.1.0

0.1.0.0 https://github.com/jjok/HTML

  Sources   Download

MIT

The Requires

  • php >=5.3.0