PHP Classes

DOM Basic: Create DOM documents in pure PHP

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 202 All time: 8,464 This week: 39Up
Version License PHP version Categories
dom-basic 1.0BSD License5HTML, XML, PHP 5, Libraries
Description 

Author

This package can create DOM documents in pure PHP.

It can create DOM documents with more options than the traditional DOM classes, like for instance setting the type of document to HTML, XHTML, XML, or custom document type, defining the open and close tags, etc..

Some classes use the singleton pattern, calls can be chained, and errors throw exceptions.

Innovation Award
PHP Programming Innovation award nominee
September 2015
Number 11


Prize: One downloadable copy of Komodo IDE
XML and HTML are used as formats to describe information structured in hierarchies, but there are other hierarchic formats used by many applications like JSON, INI, etc..

This package can define and generate hierarchic documents in XML, HTML, JSON, INI or other formats and switch between them just by changing changing some configuration values that define details like delimiter characters.

Manuel Lemos
Picture of Juan Jose
  Performance   Level  
Name: Juan Jose is available for providing paid consulting. Contact Juan Jose .
Classes: 1 package by
Country: Spain Spain
Age: 53
All time rank: 4137114 in Spain Spain
Week rank: 164 Up5 in Spain Spain Up
Innovation award
Innovation award
Nominee: 1x

Example

<?php
/*
 * File containing the Example1.php,
 * PACKAGE DOMBasic - Generation PHP FILE for demostration purpose
*
* @package DOMBasic
* @version 1.0
* @copyright Copyright (C) 2014-2020 Juan Jose Guerra Haba. All rights reserved.
* @license http://www.jumla-droid.com/licenses/new_bsd New BSD License
*/

 
$language="es-ES";
   
//$ruta=realpath( dirname(realpath( dirname(__FILE__) ) ) )."/../DOM_element.php";
   
$ruta="../DOM_element.php";
   
//echo $ruta;
   
require($ruta);

   
$document=new DOM_element('document');
   
$document->setTag('');
   
$conf=array( "TYPE"=>"document", "DESC"=>"document DOM",
           
"OPEN_TAG_LEFT"=>"", "OPEN_TAG_RIGHT"=>"", "CLOSE_TAG_LEFT"=>"", "CLOSE_TAG_RIGHT"=>"" );
   
$document->setConfiguration($conf);

       
$doctype=new DOM_element("doctype");
       
$doctype->setTag("DOCTYPE");
       
$conf=array( "TYPE"=>"doctype", "DESC"=>"Tipo de Documento (DTD)",
                                    
"OPEN_TAG_LEFT"=>"<!", "OPEN_TAG_RIGHT"=>">", "CLOSE_TAG_LEFT"=>"", "CLOSE_TAG_RIGHT"=>"" );
       
$doctype->setConfiguration($conf);
       
//IGUALAR UNA CLAVE A NULL SIGNIFICA UNA CLAVE SIN VALOR
       
$doctype->html=null;
       
$doctype->addAttrib('PUBLIC',null); //$doctype->PUBLIC=null;
        //COMENZAR UNA CLAVE POR '_null' significa un atributo sin clave (doctype) (SOLO VALOR)
       
$doctype->addAttrib("_null1", "-//W3C//DTD XHTML 1.0 Transitional//EN");
       
$doctype->_null2="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";
       
       
$html=new DOM_element('html');
       
$html->setTag("html");
       
$html->xmlns="http://www.w3.org/1999/xhtml";
       
$html->addAttrib("xml:lang", $language);
       
$html->lang=$language;
       
           
$head=new DOM_element('head');
           
$head->setTag("head");
           
               
$meta1=new DOM_element("meta1");
               
$meta1->setTag("meta");
               
$conf=array( "TYPE"=>"meta", "DESC"=>"meta-tag HTML",
                       
"OPEN_TAG_LEFT"=>"<", "OPEN_TAG_RIGHT"=>" />", "CLOSE_TAG_LEFT"=>"", "CLOSE_TAG_RIGHT"=>"" );
               
$meta1->setConfiguration($conf);
               
$meta1->addAttrib("http-equiv", "Content-Type")->addAttrib("content", 'text/html; charset=utf-8');
               
               
$title=new DOM_element('title');
               
$title->setTag('title')->setText("ARCHIVO DE PRUEBAS PARA POO-PHP");
               
               
$link1=new DOM_element("link1");
               
$link1->setTag("link");
               
$conf=array( "TYPE"=>"link", "DESC"=>"link-resource HTML",
                       
"OPEN_TAG_LEFT"=>"<", "OPEN_TAG_RIGHT"=>" />", "CLOSE_TAG_LEFT"=>"", "CLOSE_TAG_RIGHT"=>"" );
               
$link1->setConfiguration($conf);
               
$link1->addAttrib("type", "image/x-icon")->addAttrib("rel", "shortcut icon")->addAttrib("href", "favicon.png");
               
               
$link2=new DOM_element("link2");
               
$link2->setTag("link");
               
$conf=array( "TYPE"=>"link", "DESC"=>"link-resource HTML",
                       
"OPEN_TAG_LEFT"=>"<", "OPEN_TAG_RIGHT"=>" />", "CLOSE_TAG_LEFT"=>"", "CLOSE_TAG_RIGHT"=>"" );
               
$link2->setConfiguration($conf);
               
$link2->addAttrib("type", "text/css")->addAttrib("rel", "stylesheet");
               
$link2->addAttrib("href", "http://ajax.googleapis.com/ajax/libs/mootools/1.2.2/mootools-yui-compressed.css");
               
               
$style1=new DOM_element("style1");
               
$style1->setTag("style")->type="text/css";
               
$style1->setText(
                                                   
"#container{
                                                        padding:10px;
                                                        margin:10px;
                                                    }
                                                    #container2{
                                                      background:lightGray;
                                                      border: 1px ridge coral;
                                                        border-radius:8px;
                                                        padding:10px;
                                                        max-width:250px;
                                                        margin:auto;
                                                    }
                                                    img{
                                                      border: 1px solid gray;
                                                        border-radius:6px;
                                                        box-shadow:4px 6px 8px;
                                                        width:85%;
                                                        margin:10px;
                                                        cursor:pointer;
                                                    }
                                                    img:hover{ width:84%;}"
                                               
);

               
$script1=new DOM_element("script1");
               
$script1->setTag("script")->type="text/javascript";
               
$conf=array( "TYPE"=>"link", "DESC"=>"link-resource HTML",
                       
"OPEN_TAG_LEFT"=>"<", "OPEN_TAG_RIGHT"=>">", "CLOSE_TAG_LEFT"=>"</", "CLOSE_TAG_RIGHT"=>">" );
               
$script1->setConfiguration($conf);
               
$script1->src="http://ajax.googleapis.com/ajax/libs/mootools/1.2.2/mootools-yui-compressed.js";
               
               
$script2=new DOM_element("script2");
               
$script2->setTag("script")->type="text/javascript";
               
$script2->setText("
                                                        window.addEvent(\"domready\", function() {
                                                          $(\"container\").highlight(\"#AAAA00\");
                                                        });"
                                                   
);

           
$head->setChildren(array($meta1, $title, $link1, $link2, $style1, $script1, $script2));
           
           
$body=new DOM_element('body');
           
$body->setTag("body");
           
               
$h1=new DOM_element('h1_1');
               
$h1->setTag("h1");
               
$h1->setText('EXAMPLE1 :: Paquete DOMBasic <br /><small style="color:#666666;">- Generaci&oacute;n de archivo HTML para prop&oacute;sitos de demostraci&oacute;n <br /><small><a href="mailto:dinertron@gmail.com">guerraTron - 2014</a></small></small>');
                                            
               
$div1=new DOM_element('div1');
               
$div1->setTag("div")->id="container";
               
$div1->setText('<hr />"El fondo de este DIV resaltará dinámicamente mediante Javascript [Mootools]"<hr />');
               
               
$div2=new DOM_element('div2');
               
$div2->setTag("div")->id="container2";
               
$div2->setText('Pulsar en la primera im&aacute;gen de Lego<br />');
               
                   
$img1=new DOM_element('img1');
                       
$conf=array( "TYPE"=>"img", "DESC"=>"image-resource HTML",
                       
"OPEN_TAG_LEFT"=>"<", "OPEN_TAG_RIGHT"=>"/>", "CLOSE_TAG_LEFT"=>"", "CLOSE_TAG_RIGHT"=>"" );
                   
$img1->setConfiguration($conf);
                   
$img1->setTag("img")->addAttribs(array("src"=>"./img1.png",
                                                                                            
"alt"=>"img1.png - Legotron 1",
                                                                                            
"title"=>"Legotron 1",
                                                                                            
"onclick"=>"javascript: alert('LegoTron 1');"));

                   
$img2=new DOM_element('img2');
                       
$conf=array( "TYPE"=>"img", "DESC"=>"image-resource HTML",
                       
"OPEN_TAG_LEFT"=>"<", "OPEN_TAG_RIGHT"=>"/>", "CLOSE_TAG_LEFT"=>"", "CLOSE_TAG_RIGHT"=>"" );
                   
$img2->setConfiguration($conf);
                   
$img2->setTag("img")->addAttribs(array("src"=>"./img2.png",
                                                                                            
"alt"=>"img2.png - Legotron 2",
                                                                                            
"title"=>"Legotron 2"));
               
$div2->addChildren(array($img1, $img2));
           
$body->setChildren(array( $h1, $div1, $div2 ));
           
       
$html->setChildren(array($head, $body));
       
   
$document->addChild($doctype)->addChild($html);


   
//SALIDA
   
echo $document->toHTML();
   
//DEPURACION
    /*
    echo "<pre>";
        print_r($document);
    echo "</pre>";
    */
?>


Details

DOMbasic

<a href="http://guerratron.github.io/DOMbasic"><img src="http://guerratron.github.io/DOMbasic/assets/DOMbasic_logo.png" title="DOMbasic GitHub page" alt="dombasic logo" /></a> <!--- %% dombasic logo ---> *DOMbasic. Juan José Guerra Haba - 2014 - dinertron@gmail.com dombasic-full@lists.osdn.me - dombasic-private@lists.osdn.me*

DEFINITION:

PHP package to create dynamic DOM elements. It follow the OOP paradigm, implemented SINGLETON patterns, magical methods, contains error control ('own exceptions'), chaining methods, optimized memory and resources, ...

EXPLANATORY:

More flexible and lighter than the native PHP. It allows you to create any document labeling: HTML, XHTML, XML, ... including any user-defined (this includes those who are yet to be implemented) that are based on hierarchies of tags, attributes and content; this You can be achieved simply by modifying the constants file specify, opening and closing tags and a couple of other modifications.

You can create complete websites that adhere to the standards validation of its structure. A tree harbor the only variable element created, this includes visible elements (BODY) and invisible (HEAD), static (HTML) and dynamic (SCRIPTS:. EG Javascript), elements and positioning structure (xHTML) or style (CSS) ...

Although there are other ways to achieve the same (text variables, other APIs, ...) This method is designed for flexibility and dynamism, performance and low resource consumption. Once you understand the mechanism and its syntax, saving time and effort, errors are minimized and DOM construction and automated cleaner is achieved. We all know the problems that can be generated when processing a Web page on the fly successive chaining 'Echo, print, ... " making sure that the headers are not sent in advance; these errors multiplied by a thousand if we use Frameworks or type CMS (Joomla, Wordpress, Drupal, ...)

FEATURES:

They have been implemented utility functions that allow us to quickly convert theDOM* tree JSON text, HTML, XML, ... and vice versa. * Maintain tight control 'Exceptions' providing much information when debugging. Classes that follow theSINGLETON* pattern. * Contains methods 'constructor' and 'destructor' to optimize memory. Methods called magical (getter, setter, unset, clone, toString, ...*). Configuration file writable for the accommodation of the basic parameters ofINI DOM*. Chaining methods [NO GETTER*]. Programming entirely within the paradigmOOP*. * ... Other utility functions.

REQUIREMENTS:

PHP* > 4 The modules that support for readingINI,JSONandXMLfiles, must be enabled inPHP*. * Having wanted to write code. jejejejj

INSTALATION:

1. You do not require installation.

Place the pakage in the desired route by which to call to instructions 'include' or 'require'. (obviously if it's in a compressed format before DECOMPRESS) We suggest creating a folder (for example DOM) and place it inside.

USE:

Load the main input class 'DOM_element' by 'include' or some variant clause:include_once, require ...* by example: ... require(realpath(dirname(__FILE__))."/DOM/DOM_element.php"); ... After this, to creatingDOM* elements: ... $div1=new DOM_element('div1'); ... * Add attributes and properties: ... $div1->setTag("div")->id="container"; ... * Add content: ... $div1->setText("TEXT INTO 'container' DIV")->addChild($div2); ... * Print: ... echo $div1->toHTML(); ...

WEB FLOW CREATION:

* The normal flow for building a Web page would be: DOCTYPE -> HTML (HEAD -> BODY).

All this would contain the entire document. (SEE EXAMPLES FOR MORE FULL SHOW)  

* DOCUMENT:

  No special labels or attributes element is purely the DOM representation, the element tree, the container document in full:
	  `... $document=new DOM_element('document'); ...`  
		`... $document->setTag(''); ...`  
		`...   $conf=array( "TYPE"=>"2", "DESC"=>"",
				               "OPEN_TAG_LEFT"=>"", "OPEN_TAG_RIGHT"=>"", 
				               "CLOSE_TAG_LEFT"=>"", "CLOSE_TAG_RIGHT"=>"" ); ...`  
		`... $document->setConfiguration($conf); ...`  

* DOCTYPE:

  This being another special element (it is an element of definition, structure and style), we should also do it using both special 
	opening tag but no closing and unnamed attributes:  
	  `... $doctype=new DOM_element("doctype"); ...`  
		`... $doctype->setTag("DOCTYPE"); ...`  
		`... $conf=array( "TYPE"=>"doctype", "DESC"=>"Tipo de Documento (DTD)",
										 "OPEN_TAG_LEFT"=>"<!", "OPEN_TAG_RIGHT"=>">", 
										 "CLOSE_TAG_LEFT"=>"", "CLOSE_TAG_RIGHT"=>"" ); ...`  
		`... $doctype->setConfiguration($conf); ...`  
		//STARTING A KEY FOR '_null' means an attribute without key (doctype)  
		`... $doctype->addAttrib("_null1", "-//W3C//DTD XHTML 1.0 Transitional//EN"); ...`  
		`... $doctype->_null2="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"; //atributo asignado diréctamente ...`  
		_NOTE: Also keep in mind that not harbor any element._  

* HTML:

  Container of elements HEAD and BODY. Depending on the type of document to create (HTML 1.0, xHTML, HTML5, ...) 
  will implement those or other parameters:  
	  `... $html=new DOM_element('html'); ...`  
		`... $html->setTag("html"); ...`  
		`... $html->xmlns="http://www.w3.org/1999/xhtml"; ...`  

* HEAD:

  Invisible element of page:  
	  `... $head=new DOM_element('head'); ...`  
	  `... $head->setTag("head")->addChild($title); ...`  

* BODY:

	Visual element of page:  
	  `... $body=new DOM_element('body'); ...`  
		`... $body->setTag("body")->addChild($div1); ...`  

* SEWING OF ELEMENTS:

  `... $html->setChildren(array($html, $body)); ...`  
  `... $document->setChildren(array($doctype, $html)); ...`  

* WEB PRINTING:

  `... echo $document->toHTML(); ...`  

NOTE: (SEE EXAMPLES IN THE 'EXAMPLES' FOLDER FOR A MORE FULL SHOW)  

  Files folder image Files (229)  
File Role Description
Files folder imageassets (2 files)
Files folder imageDOCS (5 files, 2 directories)
Files folder imageexamples (4 files)
Files folder imageexceptions (8 files)
Files folder imageutil (3 files)
Accessible without login Plain text file config.ini Data INI Data File
Plain text file DOM_attribs.php Class Aux. Class
Plain text file DOM_element.php Class Main Class
Plain text file DOM_Interface.php Class Main Interface
Plain text file DOM_textNode.php Class Child Class
Accessible without login HTML file index.html Doc. web access page
Accessible without login Plain text file LICENSE Lic. GNU GPL v2
Accessible without login Plain text file README.md Doc. Howto, instalation, ... mini-Help

  Files folder image Files (229)  /  assets  
File Role Description
  Accessible without login Image file DOMbasic_logo.png Icon Logo pakage
  Accessible without login Image file torotron_logo.png Icon Logo author

  Files folder image Files (229)  /  DOCS  
File Role Description
Files folder imagehtml (93 files, 1 directory)
Files folder imagertf (21 files)
  Accessible without login Plain text file LEEME.txt Doc. Spanish mini-Help
  Accessible without login Plain text file license_bsd-3.txt Doc. NO-USE
  Accessible without login HTML file README.html Doc. mini-Help HTML
  Accessible without login Plain text file README.txt Doc. English mini-Help Text Plain
  Accessible without login Plain text file unlicense.txt Doc. NO-USE

  Files folder image Files (229)  /  DOCS  /  html  
File Role Description
Files folder imagesearch (85 files)
  Accessible without login HTML file annotated.html Doc. Documentation
  Accessible without login Plain text file annotated_dup.js Data Auxiliary data
  Accessible without login Image file arrowdown.png Icon Icon image
  Accessible without login Image file arrowright.png Icon Icon image
  Accessible without login Image file bc_s.png Icon Icon image
  Accessible without login Image file bdwn.png Icon Icon image
  Accessible without login HTML file classes.html Doc. Documentation
  Accessible without login HTML file class_configuration.html Doc. Documentation
  Accessible without login Plain text file class_configuration.js Data Auxiliary data
  Accessible without login HTML file class_d_o_m_basic_...ound_exception.html Doc. Documentation
  Accessible without login Plain text file class_d_o_m_basic_..._found_exception.js Data Auxiliary data
  Accessible without login Image file class_d_o_m_basic_...found_exception.png Icon Icon image
  Accessible without login HTML file class_d_o_m_basic_...only_exception.html Doc. Documentation
  Accessible without login Plain text file class_d_o_m_basic_...d_only_exception.js Data Auxiliary data
  Accessible without login Image file class_d_o_m_basic_..._only_exception.png Icon Icon image
  Accessible without login HTML file class_d_o_m_basic_...load_exception.html Doc. Documentation
  Accessible without login Plain text file class_d_o_m_basic_autoload_exception.js Data Auxiliary data
  Accessible without login Image file class_d_o_m_basic_autoload_exception.png Icon Icon image
  Accessible without login HTML file class_d_o_m_basic_...ound_exception.html Doc. Documentation
  Accessible without login Plain text file class_d_o_m_basic_..._found_exception.js Data Auxiliary data
  Accessible without login Image file class_d_o_m_basic_...found_exception.png Icon Icon image
  Accessible without login HTML file class_d_o_m_basic_...only_exception.html Doc. Documentation
  Accessible without login Plain text file class_d_o_m_basic_...d_only_exception.js Data Auxiliary data
  Accessible without login Image file class_d_o_m_basic_..._only_exception.png Icon Icon image
  Accessible without login HTML file class_d_o_m_basic_exception.html Doc. Documentation
  Accessible without login Plain text file class_d_o_m_basic_exception.js Data Auxiliary data
  Accessible without login Image file class_d_o_m_basic_exception.png Data Auxiliary data
  Accessible without login HTML file class_d_o_m_basic_...eton_exception.html Doc. Documentation
  Accessible without login Plain text file class_d_o_m_basic_singleton_exception.js Data Auxiliary data
  Accessible without login Image file class_d_o_m_basic_...leton_exception.png Icon Icon image
  Accessible without login HTML file class_d_o_m_basic_value_exception.html Doc. Documentation
  Accessible without login Plain text file class_d_o_m_basic_value_exception.js Data Auxiliary data
  Accessible without login Image file class_d_o_m_basic_value_exception.png Icon Icon image
  Accessible without login HTML file class_d_o_m__attribs.html Doc. Documentation
  Accessible without login Plain text file class_d_o_m__attribs.js Data Auxiliary data
  Accessible without login Image file class_d_o_m__attribs.png Icon Icon image
  Accessible without login HTML file class_d_o_m__element.html Doc. Documentation
  Accessible without login Plain text file class_d_o_m__element.js Data Auxiliary data
  Accessible without login Image file class_d_o_m__element.png Icon Icon image
  Accessible without login HTML file class_d_o_m__text_node.html Doc. Documentation
  Accessible without login Plain text file class_d_o_m__text_node.js Data Auxiliary data
  Accessible without login Image file class_d_o_m__text_node.png Icon Icon image
  Accessible without login HTML file class_i_n_i.html Doc. Documentation
  Accessible without login Image file closed.png Icon Icon image
  Accessible without login HTML file dir_444cf7440f6d50...88fca847a92561.html Doc. Documentation
  Accessible without login HTML file dir_5bd50db0cec53e...aa45c0260a87c6.html Doc. Documentation
  Accessible without login HTML file dir_6d94ce0bce29c7...b7b49f64d560f3.html Doc. Documentation
  Accessible without login HTML file dir_80dabeb122eccd...89c99f981bb24f.html Doc. Documentation
  Accessible without login HTML file dir_b850b63c566039...4ad73d25f2be7b.html Doc. Documentation
  Accessible without login HTML file dir_b8b0c052545290...9e2d127988077f.html Doc. Documentation
  Accessible without login HTML file dir_e1907a670304bc...f1610a6344eb26.html Doc. Documentation
  Accessible without login HTML file dir_f0124488be2362...4df2685b93c743.html Doc. Documentation
  Accessible without login Image file doc.png Icon Icon image
  Accessible without login Image file DOMbasic_logo.png Icon Document Logo
  Accessible without login Plain text file doxygen.css Data Auxiliary data
  Accessible without login Image file doxygen.png Icon Icon image
  Accessible without login Plain text file dynsections.js Data Auxiliary data
  Accessible without login Image file folderclosed.png Icon Icon image
  Accessible without login Image file folderopen.png Icon Icon image
  Accessible without login HTML file functions.html Doc. Documentation
  Accessible without login HTML file functions_func.html Doc. Documentation
  Accessible without login HTML file functions_vars.html Doc. Documentation
  Accessible without login HTML file hierarchy.html Doc. Documentation
  Accessible without login Plain text file hierarchy.js Data Auxiliary data
  Accessible without login Plain text file index.hhc Data Auxiliary data
  Accessible without login Plain text file index.hhk Data Auxiliary data
  Accessible without login Plain text file index.hhp Data Auxiliary data
  Accessible without login HTML file index.html Doc. Main Help file documentation
  Accessible without login HTML file interface_d_o_m___interface.html Doc. Documentation
  Accessible without login Plain text file interface_d_o_m___interface.js Data Auxiliary data
  Accessible without login Image file interface_d_o_m___interface.png Icon Icon image
  Accessible without login Plain text file jquery.js Data Auxiliary data
  Accessible without login HTML file namespaces.html Doc. Documentation
  Accessible without login Plain text file namespaces.js Data Auxiliary data
  Accessible without login HTML file namespace_d_o_m_base.html Doc. Documentation
  Accessible without login HTML file namespace_d_o_m_basic.html Doc. Documentation
  Accessible without login Plain text file navtree.css Data Auxiliary data
  Accessible without login Plain text file navtree.js Data Auxiliary data
  Accessible without login Plain text file navtreedata.js Data Auxiliary data
  Accessible without login Plain text file navtreeindex0.js Data Auxiliary data
  Accessible without login Image file nav_f.png Icon Icon image
  Accessible without login Image file nav_g.png Icon Icon image
  Accessible without login Image file nav_h.png Icon Icon image
  Accessible without login Image file open.png Icon Icon image
  Accessible without login Plain text file resize.js Data Auxiliary data
  Accessible without login Image file splitbar.png Data Auxiliary data
  Accessible without login Image file sync_off.png Icon Icon image
  Accessible without login Image file sync_on.png Icon Icon image
  Accessible without login Plain text file tabs.css Data Auxiliary data
  Accessible without login Image file tab_a.png Icon Icon image
  Accessible without login Image file tab_b.png Icon Icon image
  Accessible without login Image file tab_h.png Icon Icon image
  Accessible without login Image file tab_s.png Icon Icon image

  Files folder image Files (229)  /  DOCS  /  html  /  search  
File Role Description
  Accessible without login HTML file all_0.html Doc. Documentation
  Accessible without login Plain text file all_0.js Data Auxiliary data
  Accessible without login HTML file all_1.html Doc. Documentation
  Accessible without login Plain text file all_1.js Data Auxiliary data
  Accessible without login HTML file all_2.html Doc. Documentation
  Accessible without login Plain text file all_2.js Data Auxiliary data
  Accessible without login HTML file all_3.html Doc. Documentation
  Accessible without login Plain text file all_3.js Data Auxiliary data
  Accessible without login HTML file all_4.html Doc. Documentation
  Accessible without login Plain text file all_4.js Data Auxiliary data
  Accessible without login HTML file all_5.html Doc. Documentation
  Accessible without login Plain text file all_5.js Data Auxiliary data
  Accessible without login HTML file all_6.html Doc. Documentation
  Accessible without login Plain text file all_6.js Data Auxiliary data
  Accessible without login HTML file all_7.html Doc. Documentation
  Accessible without login Plain text file all_7.js Data Auxiliary data
  Accessible without login HTML file all_8.html Doc. Documentation
  Accessible without login Plain text file all_8.js Data Auxiliary data
  Accessible without login HTML file all_9.html Doc. Documentation
  Accessible without login Plain text file all_9.js Data Auxiliary data
  Accessible without login HTML file all_a.html Doc. Documentation
  Accessible without login Plain text file all_a.js Data Auxiliary data
  Accessible without login HTML file all_b.html Doc. Documentation
  Accessible without login Plain text file all_b.js Data Auxiliary data
  Accessible without login HTML file all_c.html Doc. Documentation
  Accessible without login Plain text file all_c.js Data Auxiliary data
  Accessible without login HTML file all_d.html Doc. Documentation
  Accessible without login Plain text file all_d.js Data Auxiliary data
  Accessible without login HTML file all_e.html Doc. Documentation
  Accessible without login Plain text file all_e.js Data Auxiliary data
  Accessible without login HTML file all_f.html Doc. Documentation
  Accessible without login Plain text file all_f.js Data Auxiliary data
  Accessible without login HTML file classes_0.html Doc. Documentation
  Accessible without login Plain text file classes_0.js Data Auxiliary data
  Accessible without login HTML file classes_1.html Doc. Documentation
  Accessible without login Plain text file classes_1.js Data Auxiliary data
  Accessible without login HTML file classes_2.html Doc. Documentation
  Accessible without login Plain text file classes_2.js Data Auxiliary data
  Accessible without login Image file close.png Icon Icon image
  Accessible without login HTML file functions_0.html Doc. Documentation
  Accessible without login Plain text file functions_0.js Data Auxiliary data
  Accessible without login HTML file functions_1.html Doc. Documentation
  Accessible without login Plain text file functions_1.js Data Auxiliary data
  Accessible without login HTML file functions_2.html Doc. Documentation
  Accessible without login Plain text file functions_2.js Data Auxiliary data
  Accessible without login HTML file functions_3.html Doc. Documentation
  Accessible without login Plain text file functions_3.js Data Auxiliary data
  Accessible without login HTML file functions_4.html Doc. Documentation
  Accessible without login Plain text file functions_4.js Data Auxiliary data
  Accessible without login HTML file functions_5.html Doc. Documentation
  Accessible without login Plain text file functions_5.js Data Auxiliary data
  Accessible without login HTML file functions_6.html Doc. Documentation
  Accessible without login Plain text file functions_6.js Data Auxiliary data
  Accessible without login HTML file functions_7.html Doc. Documentation
  Accessible without login Plain text file functions_7.js Data Auxiliary data
  Accessible without login HTML file functions_8.html Doc. Documentation
  Accessible without login Plain text file functions_8.js Data Auxiliary data
  Accessible without login HTML file functions_9.html Doc. Documentation
  Accessible without login Plain text file functions_9.js Data Auxiliary data
  Accessible without login HTML file functions_a.html Doc. Documentation
  Accessible without login Plain text file functions_a.js Data Auxiliary data
  Accessible without login HTML file functions_b.html Doc. Documentation
  Accessible without login Plain text file functions_b.js Data Auxiliary data
  Accessible without login HTML file functions_c.html Doc. Documentation
  Accessible without login Plain text file functions_c.js Data Auxiliary data
  Accessible without login Image file mag_sel.png Icon Icon image
  Accessible without login HTML file namespaces_0.html Doc. Documentation
  Accessible without login Plain text file namespaces_0.js Data Auxiliary data
  Accessible without login HTML file nomatches.html Doc. Documentation
  Accessible without login Plain text file search.css Data Auxiliary data
  Accessible without login Plain text file search.js Data Auxiliary data
  Accessible without login Plain text file searchdata.js Data Auxiliary data
  Accessible without login Image file search_l.png Icon Icon image
  Accessible without login Image file search_m.png Icon Icon image
  Accessible without login Image file search_r.png Icon Icon image
  Accessible without login HTML file variables_0.html Doc. Documentation
  Accessible without login Plain text file variables_0.js Data Auxiliary data
  Accessible without login HTML file variables_1.html Doc. Documentation
  Accessible without login Plain text file variables_1.js Data Auxiliary data
  Accessible without login HTML file variables_2.html Doc. Documentation
  Accessible without login Plain text file variables_2.js Data Auxiliary data
  Accessible without login HTML file variables_3.html Doc. Documentation
  Accessible without login Plain text file variables_3.js Data Auxiliary data
  Accessible without login HTML file variables_4.html Doc. Documentation
  Accessible without login Plain text file variables_4.js Data Auxiliary data

  Files folder image Files (229)  /  DOCS  /  rtf  
File Role Description
  Accessible without login Image file class_d_o_m_basic_...found_exception.png Icon Icon image
  Accessible without login Image file class_d_o_m_basic_..._only_exception.png Icon Icon image
  Accessible without login Image file class_d_o_m_basic_autoload_exception.png Icon Icon image
  Accessible without login Image file class_d_o_m_basic_...found_exception.png Icon Icon image
  Accessible without login Image file class_d_o_m_basic_..._only_exception.png Icon Icon image
  Accessible without login Image file class_d_o_m_basic_exception.png Data Auxiliary data
  Accessible without login Image file class_d_o_m_basic_...leton_exception.png Icon Icon image
  Accessible without login Image file class_d_o_m_basic_value_exception.png Icon Icon image
  Accessible without login Image file class_d_o_m__attribs.png Icon Icon image
  Accessible without login Image file class_d_o_m__element.png Icon Icon image
  Accessible without login Image file class_d_o_m__text_node.png Icon Icon image
  Accessible without login Plain text file dir_444cf7440f6d502a5c88fca847a92561.rtf Data Auxiliary data
  Accessible without login Plain text file dir_5bd50db0cec53ef87aaa45c0260a87c6.rtf Data Auxiliary data
  Accessible without login Plain text file dir_6d94ce0bce29c72c23b7b49f64d560f3.rtf Data Auxiliary data
  Accessible without login Plain text file dir_80dabeb122eccdded689c99f981bb24f.rtf Data Auxiliary data
  Accessible without login Plain text file dir_b850b63c5660396b604ad73d25f2be7b.rtf Data Auxiliary data
  Accessible without login Plain text file dir_b8b0c05254529002079e2d127988077f.rtf Data Auxiliary data
  Accessible without login Plain text file dir_e1907a670304bc66b4f1610a6344eb26.rtf Data Auxiliary data
  Accessible without login Plain text file dir_f0124488be2362525b4df2685b93c743.rtf Data Auxiliary data
  Accessible without login Image file interface_d_o_m___interface.png Icon Icon image
  Accessible without login Plain text file refman.rtf Data Auxiliary data

  Files folder image Files (229)  /  examples  
File Role Description
  Accessible without login Plain text file comparation.php Example example php file
  Accessible without login Plain text file example1.php Example example php file
  Accessible without login Image file img1.png Icon image to example
  Accessible without login Image file img2.png Icon example image

  Files folder image Files (229)  /  exceptions  
File Role Description
  Plain text file DOMBasicAttribNotFoundException.php Class Exception Class
  Plain text file DOMBasicAttribReadOnlyException.php Class Exception Class
  Plain text file DOMBasicAutoloadException.php Class Exception Class
  Plain text file DOMBasicElementNotFoundException.php Class Exception Class
  Plain text file DOMBasicElementReadOnlyException.php Class Exception Class
  Plain text file DOMBasicException.php Class Main Exception Class
  Plain text file DOMBasicSingletonException.php Class Exception Class
  Plain text file DOMBasicValueException.php Class Exception Class

  Files folder image Files (229)  /  util  
File Role Description
  Plain text file INI.php Class Utility Class for read/write INI Files
  Accessible without login Plain text file JsonIniXml.php Aux. Json Utility Class
  Accessible without login Plain text file Utiles.php Aux. Utility Methods

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:202
This week:0
All time:8,464
This week:39Up