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

Class: MDB2_Schema_Parser

Source Location: /MDB2_Schema-0.2.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 58]
Parses an XML schema file


[ Top ]


Class Variables

$count =  0

[line 63]


Type:   mixed


[ Top ]

$database_definition = array()

[line 60]


Type:   mixed


[ Top ]

$element =  ''

[line 62]


Type:   mixed


[ Top ]

$elements = array()

[line 61]


Type:   mixed


[ Top ]

$error =  null

[line 77]


Type:   mixed


[ Top ]

$fail_on_invalid_names =  true

[line 96]


Type:   mixed


[ Top ]

$field = array()

[line 66]


Type:   mixed


[ Top ]

$field_name =  ''

[line 67]


Type:   mixed


[ Top ]

$index = array()

[line 71]


Type:   mixed


[ Top ]

$index_name =  ''

[line 72]


Type:   mixed


[ Top ]

$init = array()

[line 68]


Type:   mixed


[ Top ]

$init_name =  ''

[line 69]


Type:   mixed


[ Top ]

$init_value =  ''

[line 70]


Type:   mixed


[ Top ]

$invalid_names = array(
        'user' => array(),'is'=>array(),'file'=>array('oci'=>array(),'oracle'=>array()),'notify'=>array('pgsql'=>array()),'restrict'=>array('mysql'=>array()),'password'=>array('ibase'=>array()))

[line 79]


Type:   mixed


[ Top ]

$seq = array()

[line 75]


Type:   mixed


[ Top ]

$seq_name =  ''

[line 76]


Type:   mixed


[ Top ]

$structure =  false

[line 97]


Type:   mixed


[ Top ]

$table = array()

[line 64]


Type:   mixed


[ Top ]

$table_name =  ''

[line 65]


Type:   mixed


[ Top ]

$variables = array()

[line 74]


Type:   mixed


[ Top ]

$var_mode =  false

[line 73]


Type:   mixed


[ Top ]



Method Detail

MDB2_Schema_Parser (Constructor)   [line 99]

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


Parameters:

   $variables   — 
   $fail_on_invalid_names   — 
   $structure   — 

[ Top ]

cdataHandler   [line 493]

void cdataHandler( $xp, $data)


Parameters:

   $xp   — 
   $data   — 

[ Top ]

endHandler   [line 151]

void endHandler( $xp, $element)


Parameters:

   $xp   — 
   $element   — 

[ Top ]

isBoolean   [line 465]

void isBoolean( &$value)


Parameters:

   &$value   — 

[ Top ]

raiseError   [line 437]

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


Parameters:

   $msg   — 
   $ecode   — 
   $xp   — 

[ Top ]

startHandler   [line 107]

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


Parameters:

   $xp   — 
   $element   — 
   $attribs   — 

[ Top ]

validateFieldValue   [line 362]

void validateFieldValue( $field_name, &$field_value, &$xp)


Parameters:

   $field_name   — 
   &$field_value   — 
   &$xp   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:20:27 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.