From 882029bd019478a7db3a2e12c030bbec3a2ddfa0 Mon Sep 17 00:00:00 2001 From: Matt Karl Date: Mon, 10 Nov 2014 17:42:48 -0500 Subject: [PATCH] Auto updated docs --- api.js | 3 + classes/Attribute.html | 10 +- classes/Comment.html | 10 +- classes/Document.html | 10 +- classes/Fragment.html | 2924 ++++++++++++++++++++++++++++++++++++ classes/HTML5.html | 486 ++++++ classes/HTML5Error.html | 10 +- classes/Node.html | 87 +- classes/NodeContainer.html | 33 +- classes/SimpleList.html | 10 +- classes/Specification.html | 415 +++++ classes/Table.html | 10 +- classes/Text.html | 10 +- classes/html.html | 21 +- data.json | 303 +++- index.html | 10 +- modules/Canteen_HTML5.html | 28 +- modules/global.html | 10 +- 18 files changed, 4180 insertions(+), 210 deletions(-) create mode 100644 classes/Fragment.html create mode 100644 classes/HTML5.html create mode 100644 classes/Specification.html diff --git a/api.js b/api.js index 8afa4d9..814c83f 100644 --- a/api.js +++ b/api.js @@ -4,10 +4,13 @@ YUI.add("yuidoc-meta", function(Y) { "Attribute", "Comment", "Document", + "Fragment", + "HTML5", "HTML5Error", "Node", "NodeContainer", "SimpleList", + "Specification", "Table", "Text", "html" diff --git a/classes/Attribute.html b/classes/Attribute.html index f5c1606..52b012a 100644 --- a/classes/Attribute.html +++ b/classes/Attribute.html @@ -7,7 +7,7 @@ - Canteen HTML5 API v1.0.1 API Documentation : Attribute + Canteen HTML5 API v1.1.1 API Documentation : Attribute @@ -19,7 +19,7 @@
- API Documentation for: 1.0.1 + API Documentation for: 1.1.1
@@ -45,8 +45,12 @@
  • Document
  • +
  • Fragment
  • +
  • html
  • +
  • HTML5
  • +
  • HTML5Error
  • Node
  • @@ -55,6 +59,8 @@
  • SimpleList
  • +
  • Specification
  • +
  • Table
  • Text
  • diff --git a/classes/Comment.html b/classes/Comment.html index 199af9e..5f0c601 100644 --- a/classes/Comment.html +++ b/classes/Comment.html @@ -7,7 +7,7 @@ - Canteen HTML5 API v1.0.1 API Documentation : Comment + Canteen HTML5 API v1.1.1 API Documentation : Comment @@ -19,7 +19,7 @@
    - API Documentation for: 1.0.1 + API Documentation for: 1.1.1
    @@ -45,8 +45,12 @@
  • Document
  • +
  • Fragment
  • +
  • html
  • +
  • HTML5
  • +
  • HTML5Error
  • Node
  • @@ -55,6 +59,8 @@
  • SimpleList
  • +
  • Specification
  • +
  • Table
  • Text
  • diff --git a/classes/Document.html b/classes/Document.html index d92477a..2fa67f5 100644 --- a/classes/Document.html +++ b/classes/Document.html @@ -7,7 +7,7 @@ - Canteen HTML5 API v1.0.1 API Documentation : Document + Canteen HTML5 API v1.1.1 API Documentation : Document @@ -19,7 +19,7 @@
    - API Documentation for: 1.0.1 + API Documentation for: 1.1.1
    @@ -45,8 +45,12 @@
  • Document
  • +
  • Fragment
  • +
  • html
  • +
  • HTML5
  • +
  • HTML5Error
  • Node
  • @@ -55,6 +59,8 @@
  • SimpleList
  • +
  • Specification
  • +
  • Table
  • Text
  • diff --git a/classes/Fragment.html b/classes/Fragment.html new file mode 100644 index 0000000..48434d2 --- /dev/null +++ b/classes/Fragment.html @@ -0,0 +1,2924 @@ + + + + + + + + + + Canteen HTML5 API v1.1.1 API Documentation : Fragment + + + +
    +
    +
    + +

    + +
    +
    + API Documentation for: 1.1.1 +
    +
    +
    + +
    + +
    +
    +
    + Show: + + + + + + + +
    +
    +
    +
    +

    Fragment Class

    +
    + + + +
    + Extends NodeContainer +
    + + + + + + + Namespace: Canteen\HTML5 + + + + +
    + + + +
    +

    Represents a set of HTML tags without a wrapper. +Do not initiate this class directly, use the html() function:

    +
    $div = html('fragment');
    + +
    + + +
    +

    Constructor

    +
    +

    Fragment

    + + +
    + (
      + +
    • + + [children=null] + +
    • + +
    ) +
    + + + + + + + + + + + + + + + + +
    + + + +

    + + + + +

    + + + + + +
    + +
    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + [children=null] + Node | Array + optional + + + + +
      +

      The collection of children or single child

      + +
      + + +
    • + +
    +
    + + + + + +
    + +
    + + +
    + + +
    +
    +

    Item Index

    + + +
    +

    Methods

    + + +
    + + + +
    +

    Properties

    + + +
    + + + + + +
    + + +
    +

    Methods

    + + +
    +

    __get

    + + +
    + (
      + +
    • + + name + +
    • + +
    ) +
    + + + + + + + + + + + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + + +
    + +
    +

    General purpose getter to get attribute values

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + name + String + + + + +
      +

      The name of the property to set

      + +
      + + +
    • + +
    +
    + + + + + +
    + + +
    +

    __isset

    + + +
    + (
      + +
    • + + name + +
    • + +
    ) +
    + + + + + + + + + + + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + + +
    + +
    +

    See if a property exists

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + name + String + + + + +
      +

      The name of the attribute

      + +
      + + +
    • + +
    +
    + + + + + +
    + + +
    +

    __set

    + + +
    + (
      + +
    • + + name + +
    • + +
    • + + value + +
    • + +
    ) +
    + + + + + + + + + + + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + + +
    + +
    +

    General purpose setter to set attribute values

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + name + String + + + + +
      +

      The name of the attribute

      + +
      + + +
    • + +
    • + + value + String + + + + +
      +

      The value of the attribute

      + +
      + + +
    • + +
    +
    + + + + + +
    + + +
    +

    __toString

    + + + () + + + + + String + + + + + + + + + + + + + + + +
    + +

    Inherited from + + Node + + + + +

    + + + + + +
    + +
    +

    Write to HTML

    + +
    + + + + +
    +

    Returns:

    + +
    + + + String: + +

    The string representation of this HTML node

    + + +
    +
    + + + +
    + + +
    +

    addChild

    + + +
    + (
      + +
    • + + childNode + +
    • + +
    ) +
    + + + + + NodeContainer + + + + + + + + + + + + + + + +
    + + +

    Inherited from + NodeContainer: + + + +

    + + + + + +
    + +
    +

    Add's a child to this NodeContainer. The child to add cannot be null.

    + +
    + + +
    +

    Parameters:

    + + +
    + + + +
    +

    Returns:

    + +
    + + + NodeContainer: + +

    The instance of this container

    + + +
    +
    + + + +
    + + +
    +

    addChildAt

    + + +
    + (
      + +
    • + + childNode + +
    • + +
    • + + index + +
    • + +
    ) +
    + + + + + NodeContainer + + + + + + + + + + + + + + + +
    + + +

    Inherited from + NodeContainer: + + + +

    + + + + + +
    + +
    +

    Add a child at a specific index

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + childNode + Node | String | Number | Boolean + + + + +
      +

      The child Node to add

      + +
      + + +
    • + +
    • + + index + Int + + + + +
      +

      The index to add child at, 0 is top

      + +
      + + +
    • + +
    +
    + + + +
    +

    Returns:

    + +
    + + + NodeContainer: + +

    The instance of this container

    + + +
    +
    + + + +
    + + +
    +

    appendTo

    + + +
    + (
      + +
    • + + container + +
    • + +
    ) +
    + + + + + Node + + + + + + + + + + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + + +
    + +
    +

    Add this child to a node container at the end

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + container + NodeContainer + + + + +
      +

      The node container to add to

      + +
      + + +
    • + +
    +
    + + + +
    +

    Returns:

    + +
    + + + Node: + +

    The instance of this Node

    + + +
    +
    + + + +
    + + +
    +

    getAttribute

    + + +
    + (
      + +
    • + + [name=null] + +
    • + +
    ) +
    + + + + + String + + + + + + + + + + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + + +
    + +
    +

    Fetch and attribute by name from this Node. The attribute +name cannot be null; if so, this function will throw an +Exception.

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + [name=null] + String + optional + + + + +
      +

      The name of the attribute to fetch

      + +
      + + +
    • + +
    +
    + + + +
    +

    Returns:

    + +
    + + + String: + +

    The attribute's value, if any or null

    + + +
    +
    + + + +
    + + +
    +

    getChildAt

    + + +
    + (
      + +
    • + + [index=0] + +
    • + +
    ) +
    + + + + + Node + + + + + + + + + + + + + + + +
    + + +

    Inherited from + NodeContainer: + + + +

    + + + + + +
    + +
    +

    Gets a child of this Node container at given +index. If no index is passed in, getChild() +will return the child at index zero (0).

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + [index=0] + Int + optional + + + + +
      +

      The index to fetch child Node at

      + +
      + + +
    • + +
    +
    + + + +
    +

    Returns:

    + +
    + + + Node: + +

    The child Node

    + + +
    +
    + + + +
    + + +
    +

    getChildren

    + + + () + + + + + Array + + + + + + + + + + + + + + + +
    + + +

    Inherited from + NodeContainer: + + + +

    + + + + + +
    + +
    +

    Returns an array of all children attached to this Node container.

    + +
    + + + + +
    +

    Returns:

    + +
    + + + Array: + +

    The collection of Node objects

    + + +
    +
    + + + +
    + + +
    +

    getData

    + + +
    + (
      + +
    • + + name + +
    • + +
    ) +
    + + + + + String + + + + + + + + + + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + + +
    + +
    +

    Get the data-* HTML5 attribute value, if set

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + name + String + + + + +
      +

      The name of the data attribute

      + +
      + + +
    • + +
    +
    + + + +
    +

    Returns:

    + +
    + + + String: + +

    The value of the data

    + + +
    +
    + + + +
    + + +
    +

    getParent

    + + + () + + + + + NodeContainer + + + + + + + private + + + + + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + + +
    + +
    +

    Returns the parent node of this node, if +a parent exists. If no parent exists, +this function returns null.

    + +
    + + + + +
    +

    Returns:

    + +
    + + + NodeContainer: + +

    The parent node object

    + + +
    +
    + + + +
    + + +
    +

    isEmpty

    + + +
    + (
      + +
    • + + var + +
    • + +
    ) +
    + + + + + + + + protected + + + + + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + + +
    + +
    +

    Checks if a variable is really "empty". Code borrowed from PHP.net at +http://us3.php.net/manual/en/function.empty.php#90767 because we were +previously using empty() to see if a variable is empty or not. But +empty() dosen't work for attributes that have a value of "0", so we need +something more robust here.

    +
      +
    • an unset variable -> empty
    • +
    • null -> empty
    • +
    • 0 -> NOT empty
    • +
    • "0" -> NOT empty
    • +
    • false -> empty
    • +
    • true -> NOT empty
    • +
    • 'string value' -> NOT empty
    • +
    • " "(white space) -> empty
    • +
    • array()(empty array) -> empty
    • +
    +
    + + +
    +

    Parameters:

    + +
      + +
    • + + var + Mixed + + + + +
      +

      The variable to check for empty on

      + +
      + + +
    • + +
    +
    + + + + + +
    + + +
    +

    prepareChild

    + + +
    + (
      + +
    • + + childNode + +
    • + +
    ) +
    + + + + + Node + + + + + + + protected + + + + + + + + + + +
    + + +

    Inherited from + NodeContainer: + + + +

    + + + + + +
    + +
    +

    Before adding a child, we should do some checking for basic types +and convert it into a more useable Node object.

    + +
    + + +
    +

    Parameters:

    + + +
    + + + +
    +

    Returns:

    + +
    + + + Node: + +

    The child node

    + + +
    +
    + + + +
    + + +
    +

    prependTo

    + + +
    + (
      + +
    • + + container + +
    • + +
    ) +
    + + + + + Node + + + + + + + + + + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + + +
    + +
    +

    Add this child to the beginning of a node container

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + container + NodeContainer + + + + +
      +

      The node container to prepend to to

      + +
      + + +
    • + +
    +
    + + + +
    +

    Returns:

    + +
    + + + Node: + +

    The instance of this Node

    + + +
    +
    + + + +
    + + +
    +

    removeChild

    + + +
    + (
      + +
    • + + [childNode=null] + +
    • + +
    ) +
    + + + + + Boolean + + + + + + + + + + + + + + + +
    + + +

    Inherited from + NodeContainer: + + + +

    + + + + + +
    + +
    +

    Removes the first instance of child from this.
    Once the first instance of the child +is removed, this function will return. It returns +true if a child was removed and false if no child +was removed.

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + [childNode=null] + Node + optional + + + + +
      +

      The node to remove

      + +
      + + +
    • + +
    +
    + + + +
    +

    Returns:

    + +
    + + + Boolean: + +

    If successfully removed

    + + +
    +
    + + + +
    + + +
    +

    removeChildAt

    + + +
    + (
      + +
    • + + index + +
    • + +
    ) +
    + + + + + NodeContainer + + + + + + + + + + + + + + + +
    + + +

    Inherited from + NodeContainer: + + + +

    + + + + + +
    + +
    +

    Remove a child as a specific index

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + index + Int + + + + +
      +

      The index to remove child at

      + +
      + + +
    • + +
    +
    + + + +
    +

    Returns:

    + +
    + + + NodeContainer: + +

    The instance of the node container

    + + +
    +
    + + + +
    + + +
    +

    removeChildren

    + + + () + + + + + NodeContainer + + + + + + + + + + + + + + + +
    + + +

    Inherited from + NodeContainer: + + + +

    + + + + + +
    + +
    +

    Removes all children attached to this Node container

    + +
    + + + + +
    +

    Returns:

    + +
    + + + NodeContainer: + +

    The instance of the node container

    + + +
    +
    + + + +
    + + +
    +

    setAttribute

    + + +
    + (
      + +
    • + + [name=null] + +
    • + +
    • + + [value=null] + +
    • + +
    • + + The + +
    • + +
    ) +
    + + + + + + + + + + + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + + +
    + +
    +

    Given a name and value pair, sets an attribute on this Node. +The name and value cannot be empty; if so, this function +will throw an Exception. Note if the attribute already exists +and the caller wants to set an attribute of the same name, +this function will not create a new Attribute, but rather +update the value of the existing named attribute.

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + [name=null] + String + optional + + + + +
      +

      The name of the attribute to add

      + +
      + + +
    • + +
    • + + [value=null] + String + optional + + + + +
      +

      The value of the attribute

      + +
      + + +
    • + +
    • + + The + Node + + + + +
      +

      instance of this node

      + +
      + + +
    • + +
    +
    + + + + + +
    + + +
    +

    setAttributes

    + + +
    + (
      + +
    • + + values + +
    • + +
    ) +
    + + + + + Node + + + + + + + + + + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + + +
    + +
    +

    Set the list of all attributes.

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + values + Dictionary + + + + +
      +

      An attributes array(name=>value, name=>value)

      + +
      + + +
    • + +
    +
    + + + +
    +

    Returns:

    + +
    + + + Node: + +

    The instance of this Node

    + + +
    +
    + + + +
    + + +
    +

    setParent

    + + +
    + (
      + +
    • + + [parent=null] + +
    • + +
    ) +
    + + + + + + + + protected + + + + + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + + +
    + +
    +

    Sets the parent of this Node. Note that this +function is protected and can only be called by +classes that extend Node. The parent cannot +be null; this function will throw an Exception +if the parent node is empty.

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + [parent=null] + NodeContainer + optional + + + + +
      +

      The parent container node

      + +
      + + +
    • + +
    +
    + + + + + +
    + + +
    +

    writeClose

    + + + () + + + + + String + + + + + + + protected + + + + + + + + + + +
    + + +

    Inherited from + NodeContainer: + + + +

    + + + + + +
    + +
    +

    Close the writing of this container as HTML

    + +
    + + + + +
    +

    Returns:

    + +
    + + + String: + +

    The closing HTML tag element

    + + +
    +
    + + + +
    + + +
    +

    writeOpen

    + + +
    + (
      + +
    • + + [selfClose=true] + +
    • + +
    ) +
    + + + + + String + + + + + + + protected + + + + + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + + +
    + +
    +

    Start the writing the tag

    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + [selfClose=true] + Boolean + optional + + + + +
      +

      If the tag is a self closing tag (e.g., br, img, hr)

      + +
      + + +
    • + +
    +
    + + + +
    +

    Returns:

    + +
    + + + String: + +

    The buffer of HTML

    + + +
    +
    + + + +
    + + +
    + + + +
    +

    Properties

    + + +
    +

    _attributes

    + Array + + + + + protected + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + +
    + +
    +

    The collection of Attributes objects

    + +
    + + + + + + +
    + + +
    +

    _children

    + Array + + + + + private + + + + + + +
    + + +

    Inherited from + NodeContainer: + + + +

    + + + + +
    + +
    +

    The collection of children nodes

    + +
    + + + + + + +
    + + +
    +

    _parent

    + NodeContainer + + + + + protected + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + +
    + +
    +

    The parent node, if any

    + +
    + + + + + + +
    + + +
    +

    _tag

    + String + + + + + protected + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + +
    + +
    +

    The string name of the tag

    + +
    + + + + + + +
    + + +
    +

    _validAttrs

    + Array + + + + + protected + + + + + + +
    + + +

    Inherited from + Node: + + + +

    + + + + +
    + +
    +

    The collection of valid attributes names for given tag

    + +
    + + + + + + +
    + + +
    + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + + \ No newline at end of file diff --git a/classes/HTML5.html b/classes/HTML5.html new file mode 100644 index 0000000..6f11d67 --- /dev/null +++ b/classes/HTML5.html @@ -0,0 +1,486 @@ + + + + + + + + + + Canteen HTML5 API v1.1.1 API Documentation : HTML5 + + + +
    +
    +
    + +

    + +
    +
    + API Documentation for: 1.1.1 +
    +
    +
    + +
    + +
    +
    +
    + Show: + + + + + + + +
    +
    +
    +
    +

    HTML5 Class

    +
    + + + + + + + + + Namespace: Canteen\HTML5 + + + + +
    + + + +
    +

    Main class of the library

    + +
    + + + +
    + + +
    +
    +

    Item Index

    + + +
    +

    Methods

    + + +
    + + + + + + + +
    + + +
    +

    Methods

    + + +
    +

    autoload

    + + + () + + + + + + + + + + + + static + + + + + + +
    + + + +

    + + + + +

    + + + + + +
    + +
    +

    Turn on autoloading for the library

    + +
    + + + + + + +
    + + +
    +

    html

    + + +
    + (
      + +
    • + + tag + +
    • + +
    • + + [childrenOrAttributes=null] + +
    • + +
    • + + [attributes=null] + +
    • + +
    ) +
    + + + + + Node + + + + + + + + + + + + + + + +
    + + + +

    + + + + +

    + + + + + +
    + +
    +

    This is the global function is the main entry for interacting with the HTML5 for PHP library. +using html() global function you can create HTML5 quickly and easily. For more +examples and instruction on how to use this library, please refer to the the +GitHub project. +To install the library simply include html.php, this takes care of any autoloading that's needed +for the rest of the library.

    +
    echo html('img src=home.jpg'); 
    +echo html('img', 'src=home.jpg'); 
    +echo html('a', array('href'=>'about.html'));
    + +
    + + +
    +

    Parameters:

    + +
      + +
    • + + tag + String + + + + +
      +

      The name of the tag as a string for example 'tr', 'table', can be followed + by CSS selector, e.g. 'a#backButton' or 'a.button'

      + +
      + + +
    • + +
    • + + [childrenOrAttributes=null] + Dictionary | Node | String | Array + optional + + + + +
      +

      If the tag is a NodeContainer, this can be an array + of attributes, another html node or some text. If the tag is a single node, this can + be an array or chain of attributes

      + +
      + + +
    • + +
    • + + [attributes=null] + Dictionary | String + optional + + + + +
      +

      The attributes list for container tags (e.g., 'class:selected')

      + +
      + + +
    • + +
    +
    + + + +
    +

    Returns:

    + +
    + + + Node: + +

    Return the html node

    + + +
    +
    + + + +
    + + +
    +

    useGlobal

    + + + () + + + + + + + + + + + + + + + + +
    + + + +

    + + + + +

    + + + + + +
    + +
    +

    Use the global html() method

    + +
    + + + + + + +
    + + +
    + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + + \ No newline at end of file diff --git a/classes/HTML5Error.html b/classes/HTML5Error.html index 7de353b..c62a583 100644 --- a/classes/HTML5Error.html +++ b/classes/HTML5Error.html @@ -7,7 +7,7 @@ - Canteen HTML5 API v1.0.1 API Documentation : HTML5Error + Canteen HTML5 API v1.1.1 API Documentation : HTML5Error @@ -19,7 +19,7 @@
    - API Documentation for: 1.0.1 + API Documentation for: 1.1.1
    @@ -45,8 +45,12 @@
  • Document
  • +
  • Fragment
  • +
  • html
  • +
  • HTML5
  • +
  • HTML5Error
  • Node
  • @@ -55,6 +59,8 @@
  • SimpleList
  • +
  • Specification
  • +
  • Table
  • Text
  • diff --git a/classes/Node.html b/classes/Node.html index 1a4f228..0e0b624 100644 --- a/classes/Node.html +++ b/classes/Node.html @@ -7,7 +7,7 @@ - Canteen HTML5 API v1.0.1 API Documentation : Node + Canteen HTML5 API v1.1.1 API Documentation : Node @@ -19,7 +19,7 @@
    - API Documentation for: 1.0.1 + API Documentation for: 1.1.1
    @@ -45,8 +45,12 @@
  • Document
  • +
  • Fragment
  • +
  • html
  • +
  • HTML5
  • +
  • HTML5Error
  • Node
  • @@ -55,6 +59,8 @@
  • SimpleList
  • +
  • Specification
  • +
  • Table
  • Text
  • @@ -148,12 +154,6 @@ Do not initiate this class directly, use the html() function:

    -
  • - - [validAttrs=null] - -
  • - )
    @@ -233,23 +233,6 @@ Do not initiate this class directly, use the html() function:

    -
  • - - [validAttrs=null] - String - optional - - - - -
    -

    The list of non-global valid attributes for the tag, comma separated

    - -
    - - -
  • - @@ -420,15 +403,6 @@ Do not initiate this class directly, use the html() function:

    - - -
  • - GLOBAL_ATTRS - - - static - -
  • @@ -1994,51 +1968,6 @@ if the parent node is empty.

    - - - -
    -

    GLOBAL_ATTRS

    - String - - - - - - - final - - - - static - - -
    - - - -

    - - - - -

    - - - - -
    - -
    -

    The default valid attributes

    - -
    - - - - - -
    diff --git a/classes/NodeContainer.html b/classes/NodeContainer.html index 86deae9..7e1a224 100644 --- a/classes/NodeContainer.html +++ b/classes/NodeContainer.html @@ -7,7 +7,7 @@ - Canteen HTML5 API v1.0.1 API Documentation : NodeContainer + Canteen HTML5 API v1.1.1 API Documentation : NodeContainer @@ -19,7 +19,7 @@
    - API Documentation for: 1.0.1 + API Documentation for: 1.1.1
    @@ -45,8 +45,12 @@
  • Document
  • +
  • Fragment
  • +
  • html
  • +
  • HTML5
  • +
  • HTML5Error
  • Node
  • @@ -55,6 +59,8 @@
  • SimpleList
  • +
  • Specification
  • +
  • Table
  • Text
  • @@ -158,12 +164,6 @@ Do not initiate this class directly, use the html() function:

    -
  • - - [validAttrs=null] - -
  • - )
    @@ -260,23 +260,6 @@ Do not initiate this class directly, use the html() function:

    -
  • - - [validAttrs=null] - String - optional - - - - -
    -

    Valid attributes specific to the HTML5 element, comma separated

    - -
    - - -
  • - diff --git a/classes/SimpleList.html b/classes/SimpleList.html index 9c6504f..d49bc8f 100644 --- a/classes/SimpleList.html +++ b/classes/SimpleList.html @@ -7,7 +7,7 @@ - Canteen HTML5 API v1.0.1 API Documentation : SimpleList + Canteen HTML5 API v1.1.1 API Documentation : SimpleList @@ -19,7 +19,7 @@
    - API Documentation for: 1.0.1 + API Documentation for: 1.1.1
    @@ -45,8 +45,12 @@
  • Document
  • +
  • Fragment
  • +
  • html
  • +
  • HTML5
  • +
  • HTML5Error
  • Node
  • @@ -55,6 +59,8 @@
  • SimpleList
  • +
  • Specification
  • +
  • Table
  • Text
  • diff --git a/classes/Specification.html b/classes/Specification.html new file mode 100644 index 0000000..a25b296 --- /dev/null +++ b/classes/Specification.html @@ -0,0 +1,415 @@ + + + + + + + + + + Canteen HTML5 API v1.1.1 API Documentation : Specification + + + +
    +
    +
    + +

    + +
    +
    + API Documentation for: 1.1.1 +
    +
    +
    + +
    + +
    +
    +
    + Show: + + + + + + + +
    +
    +
    +
    +

    Specification Class

    +
    + + + + + + + + + Namespace: Canteen\HTML5 + + + + +
    + + + +
    +

    The HTML5 Specification

    + +
    + + +
    +

    Constructor

    +
    +

    Specification

    + + + () + + + + + + + + + + + + + + + + +
    + + + +

    + + + + +

    + + + + + +
    + +
    + +
    + + + + + + +
    + +
    + + +
    + + +
    +
    +

    Item Index

    + + + + +
    +

    Properties

    + + +
    + + + + + +
    + + + + +
    +

    Properties

    + + +
    +

    ATTRIBUTES

    + Array + + + + + + + final + + + + static + + +
    + + + +

    + + + + +

    + + + + +
    + +
    +

    Global valid attributes for all HTML5 tags +See: http://www.w3.org/TR/html5/dom.html#global-attributes

    + +
    + + + + + + +
    + + +
    +

    SELF_CLOSING

    + Array + + + + + + + final + + + + static + + +
    + + + +

    + + + + +

    + + + + +
    + +
    +

    The list of self-closing tags

    + +
    + + + + + + +
    + + +
    +

    TAGS

    + Array + + + + + + + final + + + + static + + +
    + + + +

    + + + + +

    + + + + +
    + +
    +

    The list of all tags and their specific attributes

    + +
    + + + + + + +
    + + +
    + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + + \ No newline at end of file diff --git a/classes/Table.html b/classes/Table.html index 490b286..c1c2884 100644 --- a/classes/Table.html +++ b/classes/Table.html @@ -7,7 +7,7 @@ - Canteen HTML5 API v1.0.1 API Documentation : Table + Canteen HTML5 API v1.1.1 API Documentation : Table @@ -19,7 +19,7 @@
    - API Documentation for: 1.0.1 + API Documentation for: 1.1.1
    @@ -45,8 +45,12 @@
  • Document
  • +
  • Fragment
  • +
  • html
  • +
  • HTML5
  • +
  • HTML5Error
  • Node
  • @@ -55,6 +59,8 @@
  • SimpleList
  • +
  • Specification
  • +
  • Table
  • Text
  • diff --git a/classes/Text.html b/classes/Text.html index 93f6f14..1721c73 100644 --- a/classes/Text.html +++ b/classes/Text.html @@ -7,7 +7,7 @@ - Canteen HTML5 API v1.0.1 API Documentation : Text + Canteen HTML5 API v1.1.1 API Documentation : Text @@ -19,7 +19,7 @@
    - API Documentation for: 1.0.1 + API Documentation for: 1.1.1
    @@ -45,8 +45,12 @@
  • Document
  • +
  • Fragment
  • +
  • html
  • +
  • HTML5
  • +
  • HTML5Error
  • Node
  • @@ -55,6 +59,8 @@
  • SimpleList
  • +
  • Specification
  • +
  • Table
  • Text
  • diff --git a/classes/html.html b/classes/html.html index 29c787f..94730a0 100644 --- a/classes/html.html +++ b/classes/html.html @@ -7,7 +7,7 @@ - Canteen HTML5 API v1.0.1 API Documentation : html + Canteen HTML5 API v1.1.1 API Documentation : html @@ -19,7 +19,7 @@
    - API Documentation for: 1.0.1 + API Documentation for: 1.1.1
    @@ -45,8 +45,12 @@
  • Document
  • +
  • Fragment
  • +
  • html
  • +
  • HTML5
  • +
  • HTML5Error
  • Node
  • @@ -55,6 +59,8 @@
  • SimpleList
  • +
  • Specification
  • +
  • Table
  • Text
  • @@ -120,15 +126,8 @@
    -

    This is the global function is the main entry for interacting with the HTML5 for PHP library. -using html() global function you can create HTML5 quickly and easily. For more -examples and instruction on how to use this library, please refer to the the -GitHub project. -To install the library simply include html.php, this takes care of any autoloading that's needed -for the rest of the library.

    -
    echo html('img src=home.jpg'); 
    -echo html('img', 'src=home.jpg'); 
    -echo html('a', array('href'=>'about.html'));
    +

    The global method which is an alias for Canteen\HTML5\html() +to use this method globally call Canteen\HTML5\HTML5::useGlobal()

    diff --git a/data.json b/data.json index a875201..259dd96 100644 --- a/data.json +++ b/data.json @@ -2,7 +2,7 @@ "project": { "name": "Canteen HTML5 API", "description": "Create dynamic, valid HTML5 markup with a simple an intuitive PHP API", - "version": "1.0.1", + "version": "1.1.1", "logo": "" }, "files": { @@ -35,6 +35,24 @@ "fors": {}, "namespaces": {} }, + "src/Fragment.php": { + "name": "src/Fragment.php", + "modules": {}, + "classes": { + "Fragment": 1 + }, + "fors": {}, + "namespaces": {} + }, + "src/HTML5.php": { + "name": "src/HTML5.php", + "modules": {}, + "classes": { + "HTML5": 1 + }, + "fors": {}, + "namespaces": {} + }, "src/HTML5Error.php": { "name": "src/HTML5Error.php", "modules": {}, @@ -71,6 +89,15 @@ "fors": {}, "namespaces": {} }, + "src/Specification.php": { + "name": "src/Specification.php", + "modules": {}, + "classes": { + "Specification": 1 + }, + "fors": {}, + "namespaces": {} + }, "src/Table.php": { "name": "src/Table.php", "modules": {}, @@ -109,10 +136,13 @@ "Attribute": 1, "Comment": 1, "Document": 1, + "Fragment": 1, + "HTML5": 1, "HTML5Error": 1, "Node": 1, "NodeContainer": 1, "SimpleList": 1, + "Specification": 1, "Table": 1, "Text": 1 }, @@ -132,7 +162,7 @@ "namespaces": {}, "tag": "module", "file": "src/html.php", - "line": 32 + "line": 8 } }, "classes": { @@ -229,6 +259,45 @@ } ] }, + "Fragment": { + "name": "Fragment", + "shortname": "Fragment", + "classitems": [], + "plugins": [], + "extensions": [], + "plugin_for": [], + "extension_for": [], + "module": "Canteen\\HTML5", + "namespace": "", + "file": "src/Fragment.php", + "line": 8, + "description": "Represents a set of HTML tags without a wrapper.\nDo not initiate this class directly, use the `html()` function:\n\n\t$div = html('fragment');", + "extends": "NodeContainer", + "is_constructor": 1, + "params": [ + { + "name": "children", + "description": "The collection of children or single child", + "type": "Node|Array", + "optional": true, + "optdefault": "null" + } + ] + }, + "HTML5": { + "name": "HTML5", + "shortname": "HTML5", + "classitems": [], + "plugins": [], + "extensions": [], + "plugin_for": [], + "extension_for": [], + "module": "Canteen\\HTML5", + "namespace": "", + "file": "src/HTML5.php", + "line": 9, + "description": "Main class of the library" + }, "HTML5Error": { "name": "HTML5Error", "shortname": "HTML5Error", @@ -287,13 +356,6 @@ "type": "Array|String", "optional": true, "optdefault": "null" - }, - { - "name": "validAttrs", - "description": "The list of non-global valid attributes for the tag, comma separated", - "type": "String", - "optional": true, - "optdefault": "null" } ] }, @@ -333,13 +395,6 @@ "type": "String|Dictionary", "optional": true, "optdefault": "null" - }, - { - "name": "validAttrs", - "description": "Valid attributes specific to the HTML5 element, comma separated", - "type": "String", - "optional": true, - "optdefault": "null" } ] }, @@ -382,6 +437,21 @@ } ] }, + "Specification": { + "name": "Specification", + "shortname": "Specification", + "classitems": [], + "plugins": [], + "extensions": [], + "plugin_for": [], + "extension_for": [], + "module": "Canteen\\HTML5", + "namespace": "", + "file": "src/Specification.php", + "line": 8, + "description": "The HTML5 Specification", + "is_constructor": 1 + }, "Table": { "name": "Table", "shortname": "Table", @@ -453,8 +523,8 @@ "module": "global", "namespace": "", "file": "src/html.php", - "line": 32, - "description": "This is the global function is the main entry for interacting with the HTML5 for PHP library. \nusing `html()` global function you can create HTML5 quickly and easily. For more\nexamples and instruction on how to use this library, please refer to the the \nGitHub project. \nTo install the library simply include `html.php`, this takes care of any autoloading that's needed\nfor the rest of the library.\n\n\techo html('img src=home.jpg'); \n\techo html('img', 'src=home.jpg'); \n\techo html('a', array('href'=>'about.html'));", + "line": 8, + "description": "The global method which is an alias for Canteen\\HTML5\\html()\nto use this method globally call Canteen\\HTML5\\HTML5::useGlobal()", "is_constructor": 1, "params": [ { @@ -731,7 +801,7 @@ }, { "file": "src/Document.php", - "line": 75, + "line": 80, "description": "Write to HTML", "itemtype": "method", "name": "__toString", @@ -744,7 +814,7 @@ }, { "file": "src/Document.php", - "line": 88, + "line": 93, "description": "Beautifies an HTML string into a human-readable and indented work of art.", "itemtype": "method", "name": "beautify", @@ -763,6 +833,73 @@ "class": "Document", "module": "Canteen\\HTML5" }, + { + "file": "src/Fragment.php", + "line": 26, + "description": "Write to HTML", + "itemtype": "method", + "name": "__toString", + "return": { + "description": "The string representation of this HTML node", + "type": "String" + }, + "class": "Fragment", + "module": "Canteen\\HTML5" + }, + { + "file": "src/HTML5.php", + "line": 15, + "description": "Turn on autoloading for the library", + "itemtype": "method", + "name": "autoload", + "static": 1, + "class": "HTML5", + "module": "Canteen\\HTML5" + }, + { + "file": "src/HTML5.php", + "line": 38, + "description": "Use the global `html()` method", + "itemtype": "method", + "name": "useGlobal", + "type": "Boolean", + "class": "HTML5", + "module": "Canteen\\HTML5" + }, + { + "file": "src/HTML5.php", + "line": 48, + "description": "This is the global function is the main entry for interacting with the HTML5 for PHP library. \nusing `html()` global function you can create HTML5 quickly and easily. For more\nexamples and instruction on how to use this library, please refer to the the \nGitHub project. \nTo install the library simply include `html.php`, this takes care of any autoloading that's needed\nfor the rest of the library.\n\n\techo html('img src=home.jpg'); \n\techo html('img', 'src=home.jpg'); \n\techo html('a', array('href'=>'about.html'));", + "itemtype": "method", + "name": "html", + "params": [ + { + "name": "tag", + "description": "The name of the tag as a string for example 'tr', 'table', can be followed \n\t\t by CSS selector, e.g. 'a#backButton' or 'a.button'", + "type": "String" + }, + { + "name": "childrenOrAttributes", + "description": "If the tag is a NodeContainer, this can be an array \n\t\t of attributes, another html node or some text. If the tag is a single node, this can \n be an array or chain of attributes", + "type": "Dictionary|Node|String|Array", + "optional": true, + "optdefault": "null" + }, + { + "name": "attributes", + "description": "The attributes list for container tags (e.g., 'class:selected')", + "type": "Dictionary|String", + "optional": true, + "optdefault": "null" + } + ], + "return": { + "description": "Return the html node", + "type": "Node" + }, + "class": "HTML5", + "module": "Canteen\\HTML5" + }, { "file": "src/HTML5Error.php", "line": 28, @@ -910,7 +1047,7 @@ }, { "file": "src/Node.php", - "line": 22, + "line": 21, "description": "The string name of the tag", "itemtype": "property", "name": "_tag", @@ -922,7 +1059,7 @@ }, { "file": "src/Node.php", - "line": 29, + "line": 28, "description": "The collection of Attributes objects", "itemtype": "property", "name": "_attributes", @@ -934,7 +1071,7 @@ }, { "file": "src/Node.php", - "line": 36, + "line": 35, "description": "The parent node, if any", "itemtype": "property", "name": "_parent", @@ -946,7 +1083,7 @@ }, { "file": "src/Node.php", - "line": 43, + "line": 42, "description": "The collection of valid attributes names for given tag", "itemtype": "property", "name": "_validAttrs", @@ -958,19 +1095,7 @@ }, { "file": "src/Node.php", - "line": 50, - "description": "The default valid attributes", - "itemtype": "property", - "name": "GLOBAL_ATTRS", - "type": "String", - "final": 1, - "static": 1, - "class": "Node", - "module": "Canteen\\HTML5" - }, - { - "file": "src/Node.php", - "line": 90, + "line": 85, "description": "Returns the parent node of this node, if\na parent exists. If no parent exists,\nthis function returns null.", "itemtype": "method", "name": "getParent", @@ -985,7 +1110,7 @@ }, { "file": "src/Node.php", - "line": 103, + "line": 98, "description": "Sets the parent of this Node. Note that this\nfunction is protected and can only be called by\nclasses that extend Node. The parent cannot\nbe null; this function will throw an Exception\nif the parent node is empty.", "itemtype": "method", "name": "setParent", @@ -1005,7 +1130,7 @@ }, { "file": "src/Node.php", - "line": 122, + "line": 117, "description": "Given a name and value pair, sets an attribute on this Node.\nThe name and value cannot be empty; if so, this function\nwill throw an Exception. Note if the attribute already exists\nand the caller wants to set an attribute of the same name,\nthis function will not create a new Attribute, but rather\nupdate the value of the existing named attribute.", "itemtype": "method", "name": "setAttribute", @@ -1035,7 +1160,7 @@ }, { "file": "src/Node.php", - "line": 156, + "line": 151, "description": "Fetch and attribute by name from this Node. The attribute\nname cannot be null; if so, this function will throw an\nException.", "itemtype": "method", "name": "getAttribute", @@ -1057,7 +1182,7 @@ }, { "file": "src/Node.php", - "line": 183, + "line": 178, "description": "Set the list of all attributes.", "itemtype": "method", "name": "setAttributes", @@ -1077,7 +1202,7 @@ }, { "file": "src/Node.php", - "line": 201, + "line": 196, "description": "Set the a data-* HTML5 Attribute", "params": [ { @@ -1100,7 +1225,7 @@ }, { "file": "src/Node.php", - "line": 212, + "line": 207, "description": "Add this child to a node container at the end", "itemtype": "method", "name": "appendTo", @@ -1120,7 +1245,7 @@ }, { "file": "src/Node.php", - "line": 224, + "line": 219, "description": "Add this child to the beginning of a node container", "itemtype": "method", "name": "prependTo", @@ -1140,7 +1265,7 @@ }, { "file": "src/Node.php", - "line": 236, + "line": 231, "description": "Get the data-* HTML5 attribute value, if set", "itemtype": "method", "name": "getData", @@ -1160,7 +1285,7 @@ }, { "file": "src/Node.php", - "line": 247, + "line": 242, "description": "Write to HTML", "itemtype": "method", "name": "__toString", @@ -1173,7 +1298,7 @@ }, { "file": "src/Node.php", - "line": 257, + "line": 252, "description": "Start the writing the tag", "itemtype": "method", "name": "writeOpen", @@ -1197,7 +1322,7 @@ }, { "file": "src/Node.php", - "line": 276, + "line": 271, "description": "General purpose getter to get attribute values", "itemtype": "method", "name": "__get", @@ -1213,7 +1338,7 @@ }, { "file": "src/Node.php", - "line": 290, + "line": 285, "description": "General purpose setter to set attribute values", "itemtype": "method", "name": "__set", @@ -1234,7 +1359,7 @@ }, { "file": "src/Node.php", - "line": 305, + "line": 299, "description": "See if a property exists", "itemtype": "method", "name": "__isset", @@ -1250,7 +1375,7 @@ }, { "file": "src/Node.php", - "line": 315, + "line": 309, "description": "Checks if a variable is really \"empty\". Code borrowed from PHP.net at\nhttp://us3.php.net/manual/en/function.empty.php#90767 because we were\npreviously using empty() to see if a variable is empty or not. But\nempty() dosen't work for attributes that have a value of \"0\", so we need\nsomething more robust here.\n", "itemtype": "method", "name": "isEmpty", @@ -1268,7 +1393,7 @@ }, { "file": "src/NodeContainer.php", - "line": 24, + "line": 23, "description": "The collection of children nodes", "itemtype": "property", "name": "_children", @@ -1280,7 +1405,7 @@ }, { "file": "src/NodeContainer.php", - "line": 57, + "line": 56, "description": "Add's a child to this NodeContainer. The child to add cannot be null.", "itemtype": "method", "name": "addChild", @@ -1300,7 +1425,7 @@ }, { "file": "src/NodeContainer.php", - "line": 69, + "line": 68, "description": "Add a child at a specific index", "itemtype": "method", "name": "addChildAt", @@ -1325,7 +1450,7 @@ }, { "file": "src/NodeContainer.php", - "line": 98, + "line": 97, "description": "Before adding a child, we should do some checking for basic types\nand convert it into a more useable Node object.", "itemtype": "method", "name": "prepareChild", @@ -1347,7 +1472,7 @@ }, { "file": "src/NodeContainer.php", - "line": 128, + "line": 127, "description": "Removes the first instance of child from this. \nOnce the first instance of the child\nis removed, this function will return. It returns\ntrue if a child was removed and false if no child\nwas removed.", "itemtype": "method", "name": "removeChild", @@ -1369,7 +1494,7 @@ }, { "file": "src/NodeContainer.php", - "line": 157, + "line": 156, "description": "Remove a child as a specific index", "itemtype": "method", "name": "removeChildAt", @@ -1389,7 +1514,7 @@ }, { "file": "src/NodeContainer.php", - "line": 173, + "line": 172, "description": "Removes all children attached to this Node container", "itemtype": "method", "name": "removeChildren", @@ -1402,7 +1527,7 @@ }, { "file": "src/NodeContainer.php", - "line": 185, + "line": 184, "description": "Returns an array of all children attached to this Node container.", "itemtype": "method", "name": "getChildren", @@ -1415,7 +1540,7 @@ }, { "file": "src/NodeContainer.php", - "line": 195, + "line": 194, "description": "Gets a child of this Node container at given\nindex. If no index is passed in, getChild()\nwill return the child at index zero (0).", "itemtype": "method", "name": "getChildAt", @@ -1437,7 +1562,7 @@ }, { "file": "src/NodeContainer.php", - "line": 208, + "line": 207, "description": "Close the writing of this container as HTML", "itemtype": "method", "name": "writeClose", @@ -1452,7 +1577,7 @@ }, { "file": "src/NodeContainer.php", - "line": 219, + "line": 218, "description": "Write to HTML", "itemtype": "method", "name": "__toString", @@ -1465,7 +1590,7 @@ }, { "file": "src/SimpleList.php", - "line": 48, + "line": 47, "description": "Override for the prepareChild method on NodeContainer which \nwraps each elements in a list item", "itemtype": "method", "name": "prepareChild", @@ -1485,6 +1610,45 @@ "class": "SimpleList", "module": "Canteen\\HTML5" }, + { + "file": "src/Specification.php", + "line": 16, + "description": "The list of all tags and their specific attributes", + "itemtype": "property", + "name": "TAGS", + "type": "Array", + "final": 1, + "readonly": "", + "static": 1, + "class": "Specification", + "module": "Canteen\\HTML5" + }, + { + "file": "src/Specification.php", + "line": 352, + "description": "The list of self-closing tags", + "itemtype": "property", + "name": "SELF_CLOSING", + "type": "Array", + "final": 1, + "readonly": "", + "static": 1, + "class": "Specification", + "module": "Canteen\\HTML5" + }, + { + "file": "src/Specification.php", + "line": 378, + "description": "Global valid attributes for all HTML5 tags\nSee: http://www.w3.org/TR/html5/dom.html#global-attributes", + "itemtype": "property", + "name": "ATTRIBUTES", + "type": "Array", + "final": 1, + "static": 1, + "readonly": "", + "class": "Specification", + "module": "Canteen\\HTML5" + }, { "file": "src/Text.php", "line": 27, @@ -1497,13 +1661,6 @@ }, "class": "Text", "module": "Canteen\\HTML5" - }, - { - "file": "src/html.php", - "line": 7, - "description": "Auto load the assets in this library", - "class": "html", - "module": "global" } ], "warnings": [ @@ -1521,11 +1678,7 @@ }, { "message": "Missing item type\nSet the a data-* HTML5 Attribute", - "line": " src/Node.php:201" - }, - { - "message": "Missing item type\nAuto load the assets in this library", - "line": " src/html.php:7" + "line": " src/Node.php:196" } ] } \ No newline at end of file diff --git a/index.html b/index.html index 12f09a8..6a15708 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - Canteen HTML5 API v1.0.1 API Documentation : + Canteen HTML5 API v1.1.1 API Documentation : @@ -19,7 +19,7 @@
    - API Documentation for: 1.0.1 + API Documentation for: 1.1.1
    @@ -45,8 +45,12 @@
  • Document
  • +
  • Fragment
  • +
  • html
  • +
  • HTML5
  • +
  • HTML5Error
  • Node
  • @@ -55,6 +59,8 @@
  • SimpleList
  • +
  • Specification
  • +
  • Table
  • Text
  • diff --git a/modules/Canteen_HTML5.html b/modules/Canteen_HTML5.html index 45e4c19..96cf71c 100644 --- a/modules/Canteen_HTML5.html +++ b/modules/Canteen_HTML5.html @@ -7,7 +7,7 @@ - Canteen HTML5 API v1.0.1 API Documentation : Canteen_HTML5 + Canteen HTML5 API v1.1.1 API Documentation : Canteen_HTML5 @@ -19,7 +19,7 @@
    - API Documentation for: 1.0.1 + API Documentation for: 1.1.1
    @@ -45,8 +45,12 @@
  • Document
  • +
  • Fragment
  • +
  • html
  • +
  • HTML5
  • +
  • HTML5Error
  • Node
  • @@ -55,6 +59,8 @@
  • SimpleList
  • +
  • Specification
  • +
  • Table
  • Text
  • @@ -144,6 +150,18 @@ +
  • + + Fragment + +
  • + +
  • + + HTML5 + +
  • +
  • HTML5Error @@ -168,6 +186,12 @@
  • +
  • + + Specification + +
  • +
  • Table diff --git a/modules/global.html b/modules/global.html index 286503f..a1df18c 100644 --- a/modules/global.html +++ b/modules/global.html @@ -7,7 +7,7 @@ - Canteen HTML5 API v1.0.1 API Documentation : global + Canteen HTML5 API v1.1.1 API Documentation : global @@ -19,7 +19,7 @@
  • - API Documentation for: 1.0.1 + API Documentation for: 1.1.1
    @@ -45,8 +45,12 @@
  • Document
  • +
  • Fragment
  • +
  • html
  • +
  • HTML5
  • +
  • HTML5Error
  • Node
  • @@ -55,6 +59,8 @@
  • SimpleList
  • +
  • Specification
  • +
  • Table
  • Text