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

Class: TeraWurflXMLParser

Source Location: /TeraWurflXMLParsers/TeraWurflXMLParser.php

Class Overview


Abstract class to provide a skeleton for the wurfl.xml parsers.


Author(s):

Variables

Methods


Child classes:

TeraWurflXMLParser_SimpleXML
Loads the wurfl.xml file using SimpleXML
TeraWurflXMLParser_XMLReader
Loads the wurfl.xml file using the stream-based XMLReader class
TeraWurflXMLParser_XMLReader_LowMem
Loads the wurfl.xml file using the stream-based XMLReader class.

Class Details

[line 20]
Abstract class to provide a skeleton for the wurfl.xml parsers.



Tags:

abstract:  


[ Top ]


Class Variables

static $PARSER_SIMPLEXML =  'simplexml'

[line 30]



Tags:

access:  protected

Type:   mixed


[ Top ]

static $PARSER_XMLREADER =  'xmlreader'

[line 31]



Tags:

access:  protected

Type:   mixed


[ Top ]

static $TYPE_PATCH =  'patch'

[line 23]



Tags:

access:  public

Type:   mixed


[ Top ]

static $TYPE_WURFL =  'wurfl'

[line 22]



Tags:

access:  public

Type:   mixed


[ Top ]

$devices = array()

[line 27]



Tags:

access:  public

Type:   mixed


[ Top ]

$errors = array()

[line 28]



Tags:

access:  public

Type:   mixed


[ Top ]

$file_type =

[line 34]



Tags:

access:  protected

Type:   mixed


[ Top ]

$parser_type =

[line 33]



Tags:

access:  protected

Type:   mixed


[ Top ]

$wurflLastUpdated =

[line 26]



Tags:

access:  public

Type:   mixed


[ Top ]

$wurflVersion =

[line 25]



Tags:

access:  public

Type:   mixed


[ Top ]

$xml =

[line 35]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


static method getInstance [line 51]

static void getInstance( )



Tags:

access:  public


[ Top ]

method cleanValue [line 39]

void cleanValue( $value)



Tags:

access:  protected


Parameters:

   $value  

[ Top ]

method enabled [line 47]

void enabled( $cap_or_group)



Tags:

access:  protected


Parameters:

   $cap_or_group  

[ Top ]

method open [line 37]

void open( $filename, $file_type)



Tags:

abstract:  
access:  public


Overridden in child classes as:

TeraWurflXMLParser_SimpleXML::open()
TeraWurflXMLParser_XMLReader::open()
TeraWurflXMLParser_XMLReader_LowMem::open()

Parameters:

   $filename  
   $file_type  

[ Top ]

method process [line 38]

void process( &$destination)



Tags:

abstract:  
access:  public


Overridden in child classes as:

TeraWurflXMLParser_SimpleXML::process()
TeraWurflXMLParser_XMLReader::process()
TeraWurflXMLParser_XMLReader_LowMem::process()

Parameters:

Array   &$destination  

[ Top ]


Documentation generated on Sun, 19 Sep 2010 00:16:05 +0000 by phpDocumentor 1.4.3