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

Class: pdoMap_Generator

Source Location: /generator/generator.class.php

Class Overview


PDO CORE GENERATOR


Variables

Methods



Class Details

[line 44]
PDO CORE GENERATOR

Generates php classes files from XSD definition




[ Top ]


Class Variables

$datasources =

[line 46]



Tags:

access:  public

Type:   mixed


[ Top ]

$id =

[line 45]



Tags:

access:  public

Type:   mixed


[ Top ]

$keys =

[line 47]



Tags:

access:  public

Type:   mixed


[ Top ]

$relations =

[line 49]



Tags:

access:  public

Type:   mixed


[ Top ]

$structures =

[line 48]



Tags:

access:  public

Type:   mixed


[ Top ]

$tables =

[line 50]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 56]

pdoMap_Generator __construct( string $file)

Constructor



Tags:

access:  public


Parameters:

string   $file   File to be parsed

[ Top ]

method read [line 64]

boolean read( )

Read Function

Open file and loads XSD structure




Tags:

return:  Returns true if parsing succeeds
access:  public


[ Top ]

method write [line 93]

boolean write( string $as)

Writing classes

Function used to generate mapping




Tags:

return:  Returns true if writing succeeds
access:  public


Parameters:

string   $as   Indicate the filename which will be generated

[ Top ]


Documentation generated on Thu, 10 Apr 2008 11:51:03 +0200 by phpDocumentor 1.4.1