PHP Classes

File: DefAttributes.php

Recommend this page to a friend!
  Classes of Jonas Raoni Soares Silva   3-Level DOM Implementation   DefAttributes.php   Download  
File: DefAttributes.php
Role: Auxiliary script
Content type: text/plain
Description: Default attributes that "createElement" will lookup when creating new elements
Class: 3-Level DOM Implementation
Class to manage data upon the DOM specification.
Author: By
Last change:
Date: 21 years ago
Size: 1,295 bytes
 

Contents

Class file image Download
<?PHP
/*= USER INFO ============================================
» Coded by:
»» Jonas Raoni Saores Silva
» Delphi Developer :: WebDeveloper
»» jonblackjack@ig.com.br
» NetWorks - Fast Solutions
»» http://www.networks.com.br
========================================================*/

/*= CLASS INFO ===========================================
» My user account at phpclasses.org:
»» http://www.phpclasses.org/browse.html/author/84147.html
» Get the latest version of this class at:
»» http://www.phpclasses.org/browse.html/package/1150.html
========================================================*/

/*= FILE VERSION =========================================
» Revision date: 2003/06/06 22:00:00 GMT -3:00
»» Status: Ok
» File Version: Document.php v1.0
========================================================*/

//Implement this default tagnames/namespaces attributes as you want...

$DefAttribs = array(
   
'A'=>array(
       
'href',
       
'title',
       
'target=self',
       
'style'
   
),
   
'FONT'=>array(
       
'face=verdana, arial',
       
'size=3',
       
'color=black',
       
'style'
   
),
   
'TABLE'=>array(
       
'cellpadding=1',
       
'cellspacing=1',
       
'border=0',
       
'style'
   
),
   
'TD'=>array(
       
'bgcolor',
       
'rowspan=1',
       
'colspan=1',
       
'background',
       
'style',
       
'nowrap'
   
)
)
?>