FluentDOM
[ class tree: FluentDOM ] [ index: FluentDOM ] [ all elements ]

Class: FluentDOMLoaderPDO

Source Location: /FluentDOM/Loader/PDO.php

Class Overview


Load FluentDOM from pdo result


Implements interfaces:

Variables

Constants

Methods



Class Details

[line 24]
Load FluentDOM from pdo result



[ Top ]


Class Variables

$_tagNameRecord =  'record'

[line 46]

record element name



Tags:

access:  protected

Type:   unknown_type


[ Top ]

$_tagNameRoot =  'records'

[line 41]

root element name



Tags:

access:  protected

Type:   string


[ Top ]



Class Methods


method load [line 66]

DOMDocument|FALSE load( string $source, string $contentType)

Load DOMDocument from xml string



Tags:

access:  public



Implementation of:
FluentDOMLoader::load()
load FluentDOM document data from a source

Parameters:

string   $source   xml string
string   $contentType  

[ Top ]

method setTagNames [line 54]

void setTagNames( string $root, string $record)

set root and record tag name for xml elements.



Tags:

access:  public


Parameters:

string   $root  
string   $record  

[ Top ]

method _getNodeType [line 126]

void _getNodeType( array $columnData)

get node type (attribute or element)



Tags:

access:  protected


Parameters:

array   $columnData  

[ Top ]

method _normalizeColumnName [line 117]

void _normalizeColumnName( string $name)

normalize column for tag name use



Tags:

access:  protected


Parameters:

string   $name  

[ Top ]


Class Constants

ATTRIBUTE_VALUE =  2

[line 35]

Element type attribute


[ Top ]

ELEMENT_VALUE =  1

[line 30]

Element type value


[ Top ]



Documentation generated on Fri, 30 Jul 2010 01:00:53 +0200 by phpDocumentor 1.4.3