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

Class: MDB2_Schema_Parser

Source Location: /MDB2_Schema-0.8.0/MDB2/Schema/Parser.php

Class Overview

XML_Parser
   |
   --MDB2_Schema_Parser

Parses an XML schema file


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 59]
Parses an XML schema file


[ Top ]


Class Variables

$constraint = array()

[line 75]


Type:   mixed


[ Top ]

$constraint_name =  ''

[line 76]


Type:   mixed


[ Top ]

$count =  0

[line 64]


Type:   mixed


[ Top ]

$database_definition = array()

[line 61]


Type:   mixed


[ Top ]

$element =  ''

[line 63]


Type:   mixed


[ Top ]

$elements = array()

[line 62]


Type:   mixed


[ Top ]

$error =

[line 81]


Type:   mixed


[ Top ]

$field = array()

[line 67]


Type:   mixed


[ Top ]

$field_name =  ''

[line 68]


Type:   mixed


[ Top ]

$index = array()

[line 73]


Type:   mixed


[ Top ]

$index_name =  ''

[line 74]


Type:   mixed


[ Top ]

$init = array()

[line 69]


Type:   mixed


[ Top ]

$init_expression = array()

[line 71]


Type:   mixed


[ Top ]

$init_field = array()

[line 72]


Type:   mixed


[ Top ]

$init_function = array()

[line 70]


Type:   mixed


[ Top ]

$sequence = array()

[line 79]


Type:   mixed


[ Top ]

$sequence_name =  ''

[line 80]


Type:   mixed


[ Top ]

$structure =  false

[line 82]


Type:   mixed


[ Top ]

$table = array()

[line 65]


Type:   mixed


[ Top ]

$table_name =  ''

[line 66]


Type:   mixed


[ Top ]

$val =

[line 83]


Type:   mixed


[ Top ]

$variables = array()

[line 78]


Type:   mixed


[ Top ]

$var_mode =  false

[line 77]


Type:   mixed


[ Top ]



Method Detail

MDB2_Schema_Parser (Constructor)   [line 95]

MDB2_Schema_Parser MDB2_Schema_Parser( $variables, [ $fail_on_invalid_names = true], [ $structure = false], [ $valid_types = array()], [ $force_defaults = true])


Parameters:

   $variables     
   $fail_on_invalid_names     
   $structure     
   $valid_types     
   $force_defaults     

[ Top ]

__construct (Constructor)   [line 85]

MDB2_Schema_Parser __construct( $variables, [ $fail_on_invalid_names = true], [ $structure = false], [ $valid_types = array()], [ $force_defaults = true])


Parameters:

   $variables     
   $fail_on_invalid_names     
   $structure     
   $valid_types     
   $force_defaults     

[ Top ]

cdataHandler   [line 489]

void cdataHandler( $xp, $data)


Parameters:

   $xp     
   $data     

[ Top ]

endHandler   [line 299]

void endHandler( $xp, $element)


Parameters:

   $xp     
   $element     

[ Top ]

raiseError   [line 461]

void &raiseError( [ $msg = null], [ $xmlecode = 0], [ $xp = null], [ $ecode = MDB2_SCHEMA_ERROR_PARSE])


Parameters:

   $msg     
   $xmlecode     
   $xp     
   $ecode     

[ Top ]

startHandler   [line 100]

void startHandler( $xp, $element, $attribs)


Parameters:

   $xp     
   $element     
   $attribs     

[ Top ]


Documentation generated on Mon, 20 Aug 2007 13:00:10 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.