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

Class: MDB2_Schema_Parser2

Source Location: /MDB2_Schema-0.8.5/MDB2/Schema/Parser2.php

Class Overview

XML_Unserializer
   |
   --MDB2_Schema_Parser2

Parses an XML schema file


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 65]
Parses an XML schema file


[ Top ]


Class Variables

$constraint = array()

[line 93]


Type:   mixed


[ Top ]

$constraint_name =  ''

[line 95]


Type:   mixed


[ Top ]

$database_definition = array()

[line 67]


Type:   mixed


[ Top ]

$database_loaded = array()

[line 69]


Type:   mixed


[ Top ]

$error =

[line 73]


Type:   mixed


[ Top ]

$field = array()

[line 85]


Type:   mixed


[ Top ]

$field_name =  ''

[line 87]


Type:   mixed


[ Top ]

$index = array()

[line 89]


Type:   mixed


[ Top ]

$index_name =  ''

[line 91]


Type:   mixed


[ Top ]

$init = array()

[line 101]


Type:   mixed


[ Top ]

$options = array()

[line 79]


Type:   mixed


[ Top ]

$sequence = array()

[line 97]


Type:   mixed


[ Top ]

$sequence_name =  ''

[line 99]


Type:   mixed


[ Top ]

$structure =  false

[line 75]


Type:   mixed


[ Top ]

$table = array()

[line 81]


Type:   mixed


[ Top ]

$table_name =  ''

[line 83]


Type:   mixed


[ Top ]

$val =

[line 77]


Type:   mixed


[ Top ]

$variables = array()

[line 71]


Type:   mixed


[ Top ]



Method Detail

MDB2_Schema_Parser2 (Constructor)   [line 126]

MDB2_Schema_Parser2 MDB2_Schema_Parser2( $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 103]

MDB2_Schema_Parser2 __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 ]

fixDatabaseKeys   [line 155]

void fixDatabaseKeys( $database)


Parameters:

   $database     

[ Top ]

fixSequenceKeys   [line 558]

void fixSequenceKeys( $sequence)


Parameters:

   $sequence     

[ Top ]

fixTableConstraintKeys   [line 392]

void fixTableConstraintKeys( $constraint)


Parameters:

   $constraint     

[ Top ]

fixTableFieldKeys   [line 282]

void fixTableFieldKeys( $field)


Parameters:

   $field     

[ Top ]

fixTableIndexKeys   [line 331]

void fixTableIndexKeys( $index)


Parameters:

   $index     

[ Top ]

fixTableInitializationDataKeys   [line 483]

void fixTableInitializationDataKeys( $element)


Parameters:

   $element     

[ Top ]

fixTableInitializationKeys   [line 471]

void fixTableInitializationKeys( $element, [ $type = ''])


Parameters:

   $element     
   $type     

[ Top ]

fixTableKeys   [line 207]

void fixTableKeys( $table)


Parameters:

   $table     

[ Top ]

parse   [line 131]

void parse( )


[ Top ]

raiseError   [line 613]

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


Parameters:

   $msg     
   $ecode     

[ Top ]

renameKey   [line 149]

void renameKey( &$arr, $oKey, $nKey)


Parameters:

   &$arr     
   $oKey     
   $nKey     

[ Top ]

setExpression   [line 508]

void setExpression( &$arr)


Parameters:

   &$arr     

[ Top ]

setInputFile   [line 143]

void setInputFile( $filename)


Parameters:

   $filename     

[ Top ]


Documentation generated on Sun, 22 Feb 2009 22:30:07 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.