![]() |
DOMbasic
1.0
DOMBasic es un Framework PHP para la creación de elementos DOM que generan contenido HTML dinámico y permite su modificación 'al vuelo' (Websites). Está escrito entéramente en PHP y sigue el paradigma POO.
|
Métodos públicos | |
| __construct ($key=null) | |
| getOpenTag () | |
| setText ($text) | |
Métodos públicos heredados desde DOM_element | |
| __construct ($key=null) | |
| __clone () | |
| __unset ($child) | |
| __toString () | |
| reinicializar () | |
| setReadOnly ($readOnly) | |
| getReadOnly () | |
| setKey (string $key=null) | |
| getKey () | |
| getTag () | |
| setTag ($tag) | |
| getOpenTag () | |
| getCloseTag () | |
| getType () | |
| getDesc () | |
| clearText () | |
| setText ($text) | |
| addText ($text) | |
| getTextAll ($filter=false) | |
| getText ($filter=false) | |
| addChild (DOM_element $child=null) | |
| addChildren (array $children=null) | |
| setChildren (array $children=null) | |
| getChildren () | |
| getChildrenAll () | |
| getChildByKey ($key, $grandchildren=true) | |
| getChildrenByTag ($tag, $grandchildren=true) | |
| getChildrenByType ($type, $grandchildren=true) | |
| removeChild ($child, $grandchildren=true) | |
| removeChildrenAll () | |
| removeChildByKey ($key, $grandchildren=true) | |
| removeChildrenByTag ($tag, $grandchildren=true) | |
| removeChildrenByType ($type, $grandchildren=true) | |
| equals ($objDOM) | |
| equalsType ($objDOM) | |
| toHTML () | |
| toJSON ($return=true, $base64values=true) | |
| fromJSON ($json) | |
| fromDOM_element (DOM_element $dom) | |
| attribsToURL ($encode=self::ENCODE_RFC_1738) | |
| attribsFromURL ($strURL) | |
| getConfiguration () | |
| setConfiguration (array $conf) | |
| importConfINI ($confFile=null) | |
Métodos públicos heredados desde DOM_attribs | |
| __construct ($asocArrayAttribs=null) | |
| setReadOnly ($readOnly) | |
| getReadOnly () | |
| reinicializar () | |
| __get ($attrib) | |
| __set ($attrib, $value) | |
| __isset ($attrib) | |
| __unset ($attrib) | |
| offsetExists ($attrib) | |
| offsetGet ($attrib) | |
| offsetSet ($attrib, $value) | |
| offsetUnset ($attrib) | |
| getIterator () | |
| setAttribs ($asocArrayAttribs) | |
| getAttribs () | |
| getAttribsStr () | |
| addAttrib ($attrib, $valorAttrib) | |
| addAttribs ($arrayAttribs) | |
| removeAttrib ($attrib) | |
| removeAttribs ($arrayAttribs) | |
| clearAttribs () | |
| countAttrs () | |
| equals ($objAttribs) | |
| __toString () | |
| toJSON ($return=true, $base64values=true) | |
| fromJSON ($arrJSON) | |
| setEjemplo () | |
Métodos públicos estáticos | |
| static | getInstance () |
Métodos públicos estáticos heredados desde DOM_element | |
| static | getInstance () |
| static | getDTD (int $dtd) |
| static | objJSON2DOM_element ($objectJSON, $return=true, $base64values=true) |
Métodos públicos estáticos heredados desde DOM_attribs | |
| static | arrayFromURL ($strURLquery) |
| static | filtrarStrJSON ($str="") |
| static | writeLog ($mensaje, $trace) |
Campos de datos | |
| const | N_C = __CLASS__ |
Campos de datos heredados desde DOM_element | |
| const | N_C = __CLASS__ |
| const | PATRON_SINGLETON =true |
| const | AVISO_SINGLETON =true |
Campos de datos heredados desde DOM_attribs | |
| const | N_C = __CLASS__ |
| const | ENCODE_RFC_1738 ="RFC_1738" |
| const | ENCODE_RFC_3986 ="RFC_3986" |
Atributos protegidos | |
| $TAG = "" | |
| $TYPE = "textNode" | |
| $DESC = "inline DOM text element" | |
| $OPEN_TAG_LEFT ="" | |
| $OPEN_TAG_RIGHT ="" | |
| $CLOSE_TAG_LEFT ="" | |
| $CLOSE_TAG_RIGHT ="" | |
| $_text ="" | |
Atributos protegidos heredados desde DOM_element | |
| $_READ_ONLY =false | |
| $TAG = "" | |
| $TYPE = "container" | |
| $DESC = "DOM's container element" | |
| $OPEN_TAG_LEFT ="<" | |
| $OPEN_TAG_RIGHT =">" | |
| $CLOSE_TAG_LEFT ="</" | |
| $CLOSE_TAG_RIGHT =">" | |
| $AVISO_GET =false | |
| $_key ="" | |
| $_text ="" | |
| $_children =array() | |
Atributos protegidos heredados desde DOM_attribs | |
| $_READ_ONLY =false | |
| $AVISO_GET =false | |
| $_attribs =array() | |
Atributos protegidos estáticos | |
| static | $instance |
Atributos protegidos estáticos heredados desde DOM_element | |
| static | $DTD_DOCTYPE_HTML =0 |
| static | $DTD_DOCTYPE_XHTML_TRANSITIONAL =10 |
| static | $DTD_DOCTYPE_XHTML_STRICT =10 |
| static | $DTD_XML_1_0 =20 |
| static | $LINE_BREAK ="\n" |
| static | $instance |
Otros miembros heredados | |
Métodos protegidos heredados desde DOM_element | |
| tryingWrite ($arg="") | |
Métodos protegidos heredados desde DOM_attribs | |
| tryingWrite ($arg="") | |
| toURL ($encode=self::ENCODE_RFC_3986) | |
| fromURL ($strURLquery) | |
Clase para crear objetos de NODOS DE TEXTO para elementos del DOM, utiles para insertar texto 'innerHTML' dentro de los elementos del DOM.
|
static |
PATRON SINGLETON. Tomar una instancia de forma estatica.
$txt = DOM_textNode::getInstance();
| getOpenTag | ( | ) |
Metodo para leer la etiqueta HTML de apertura construida para este elemento, con sus atributos incluidos.
Implementa DOM_Interface.
| setText | ( | $text | ) |
Metodo para establecer el texto de este elemento DOM.
| string | $text | para este elemento. |
|
protected |
Texto que contiene este elemento.
1.8.10