Myobjects > Docs / Api / MyObjectsCompiler / DDL.html

Questions? Need Help? Want to share? » PHP Forum
Script Name:
Myobjects

Download:
myobjects.zip

Category:
Development Tools

Archive Content:

Compiler

Compiler > CVS

Compiler

CVS

Docs > Api

Docs > Api > CVS

Docs > Api

Docs > Api > Media

Docs > Api > Media > CVS

Docs > Api > Media

Docs > Api > MyObjectsCommandLineClient

Docs > Api > MyObjectsCommandLineClient > CVS

Docs > Api > MyObjectsCommandLineClient

Docs > Api > MyObjectsCompiler

Docs > Api > MyObjectsCompiler > CVS

Docs > Api > MyObjectsCompiler

Docs > Api > MyObjectsRuntime > CVS

Docs > Api > MyObjectsRuntime

Docs > Api > MyObjectsWebClient

Docs > Api > MyObjectsWebClient > CVS

Docs > Api > MyObjectsWebClient

Docs > Api

Docs > Api > UserManagerExample

Docs > Api > UserManagerExample > CVS

Docs > Api > UserManagerExample

Docs > Api > WorldExample

Docs > Api > WorldExample > CVS

Docs > Api > WorldExample

Docs > Api > Filesource > CVS

Docs > Api > Filesource

Docs

Docs > CVS

Docs

Docs > Ddl Files

Docs > Ddl Files > CVS

Docs > Ddl Files

Docs

Docs > Developer

Docs > Developer > CVS

Docs

Docs > Images > CVS

Docs > Images

Docs

Docs > Mapable Files

Docs > Mapable Files > CVS

Docs > Mapable Files

Docs

Docs > Project Files > CVS

Docs > Project Files

Docs

Example App > CVS

Example App > User Manager > Casestudy > CVS

Example App > User Manager > Casestudy

Example App > User Manager

Example App > User Manager > CVS

Example App > User Manager

Example App > World Database > CVS

Example App > World Database

Example App > World Database > World

Example App > World Database > World > CVS

Example App > World Database > World

Example App > World Database

Runtime

Runtime > CVS

Runtime

Webclient > Actions

Webclient > Actions > CVS

Webclient > Actions

Webclient > CVS

Webclient > Images

Webclient > Images > CVS

Webclient > Images

Webclient

Webclient > Scripts > CVS

Webclient > Scripts

Webclient > Templates

Webclient > Templates > CVS

Webclient > Templates

Webclient > Tmp > CVS

Webclient

Content:

DDL.html:


<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Docs For Class DDL</title>
    <link rel="stylesheet" type="text/css" href="../media/style.css">
    <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header-top-left">&nbsp;</td>
    <td class="header-top-right">MyObjectsCompiler<br /><div class="header-top-right-subpackage"></div></td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td colspan="2" class="header-menu">
            [ <a href="../classtrees_MyObjectsCompiler.html" class="menu">class tree: MyObjectsCompiler</a> ]
          [ <a href="../elementindex_MyObjectsCompiler.html" class="menu">index: MyObjectsCompiler</a> ]
          [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="195" class="menu">
        <div class="package-title">MyObjectsCompiler</div>
  <div class="package">
    <div id="ric">
                    <p><a href="../ric_changelog.html">changelog</a></p>
                    <p><a href="../ric_install.html">install</a></p>
                    <p><a href="../ric_license.html">license</a></p>
            </div>
    </div>
      <b>Packages:</b><br />
  <div class="package">
              <a href="../li_MyObjectsCommandLineClient.html">MyObjectsCommandLineClient</a><br />
              <a href="../li_MyObjectsCompiler.html">MyObjectsCompiler</a><br />
              <a href="../li_MyObjectsRuntime.html">MyObjectsRuntime</a><br />
              <a href="../li_MyObjectsWebClient.html">MyObjectsWebClient</a><br />
              <a href="../li_UserManagerExample.html">UserManagerExample</a><br />
              <a href="../li_WorldExample.html">WorldExample</a><br />
          </div>
      <br />
                        <b>Files:</b><br />
        <div class="package">
                <span style="padding-left: 1em;"><a href="../MyObjectsCompiler/_compiler_ClassCompiler_php.html">ClassCompiler.php</a></span><br />
            <span style="padding-left: 1em;"><a href="../MyObjectsCompiler/_compiler_DDL_php.html">DDL.php</a></span><br />
            <span style="padding-left: 1em;"><a href="../MyObjectsCompiler/_compiler_DefaultClassGenerator_php.html">DefaultClassGenerator.php</a></span><br />
            <span style="padding-left: 1em;"><a href="../MyObjectsCompiler/_compiler_Exceptions_php.html">Exceptions.php</a></span><br />
      </div>
            <br />
            <b>Classes:</b><br />
        <div class="package">
                    <a href="../MyObjectsCompiler/BooleanFlagNotSetException.html">BooleanFlagNotSetException</a>         <br />
                <a href="../MyObjectsCompiler/ClassGenerator.html">ClassGenerator</a>         <br />
                <a href="../MyObjectsCompiler/Compiler.html">Compiler</a>         <br />
                <a href="../MyObjectsCompiler/CompileTimeException.html">CompileTimeException</a>         <br />
                <a href="../MyObjectsCompiler/DDL.html">DDL</a>         <br />
                <a href="../MyObjectsCompiler/DDLData.html">DDLData</a>         <br />
                <a href="../MyObjectsCompiler/DDLDatabase.html">DDLDatabase</a>         <br />
                <a href="../MyObjectsCompiler/DDLEnumData.html">DDLEnumData</a>         <br />
                <a href="../MyObjectsCompiler/DDLEnumValue.html">DDLEnumValue</a>         <br />
                <a href="../MyObjectsCompiler/DDLField.html">DDLField</a>         <br />
                <a href="../MyObjectsCompiler/DDLFileNotValidException.html">DDLFileNotValidException</a>         <br />
                <a href="../MyObjectsCompiler/DDLNumericData.html">DDLNumericData</a>         <br />
                <a href="../MyObjectsCompiler/DDLSetData.html">DDLSetData</a>         <br />
                <a href="../MyObjectsCompiler/DDLTable.html">DDLTable</a>         <br />
                <a href="../MyObjectsCompiler/DDLTextData.html">DDLTextData</a>         <br />
                <a href="../MyObjectsCompiler/DDLTimeData.html">DDLTimeData</a>         <br />
                <a href="../MyObjectsCompiler/DDLVersionNotSupportedException.html">DDLVersionNotSupportedException</a>         <br />
                <a href="../MyObjectsCompiler/DefaultClassGenerator.html">DefaultClassGenerator</a>         <br />
                <a href="../MyObjectsCompiler/InvalidBooleanFieldException.html">InvalidBooleanFieldException</a>         <br />
                <a href="../MyObjectsCompiler/InvalidForeignKeyException.html">InvalidForeignKeyException</a>         <br />
      </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: DDL</h1>
Source Location: /compiler/DDL.php<br /><br />

<h2 class="class-name">Class DDL</h2>

<a name="sec-description"></a>
<div class="info-box">
    <div class="info-box-title">Class Overview</div>
    <div class="nav-bar">
                    <span class="disabled">Class Overview</span> |
                                                            <a href="#sec-var-summary">Properties Summary</a> | <a href="#sec-vars">Properties Detail</a>
                        |                                            <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
                                            </div>
    <div class="info-box-body">
        <table width="100%" border="0">
        <tr><td valign="top" width="60%" class="class-overview">

        <p align="center" class="short-description"><strong>Defines methods for parsing,  generating ddl files,  getting database schema  details.
</strong></p>

        <p class="notes">
            Located in <a class="field" href="_compiler_DDL_php.html">/compiler/DDL.php</a> [<span class="field">line <a href="..//__filesource/fsource_MyObjectsCompiler__compilerDDL.php.html#a22">22</a></span>]
        </p>

        
        <pre></pre>

        
                <strong>Author(s):</strong>
        <ul>
                                    <li>Erdinc Yilmazel &lt;<a href="mailto:erdinc <at> yilmazel <dot> com">erdinc <at> yilmazel <dot> com</a>&gt;</li>
                                                      </ul>
        
        
<strong>Information Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
                <tr><td><strong>Version:</strong>&nbsp;&nbsp;</td><td>1.0</td></tr>
    </table>
        </td>

                <td valign="top" width="20%" class="class-overview">
        <p align="center" class="short-description"><strong><a href="#sec_vars">Properties</a></strong></p>
        <ul>
                    <li><a href="../MyObjectsCompiler/DDL.html#var$databases">$databases</a></li>
                  </ul>
        </td>
        
                <td valign="top" width="20%" class="class-overview">
        <p align="center" class="short-description"><strong><a href="#sec_methods">Methods</a></strong></p>
        <ul>
                    <li><a href="../MyObjectsCompiler/DDL.html#method__construct">__construct</a></li>
                    <li><a href="../MyObjectsCompiler/DDL.html#methodaddDatabase">addDatabase</a></li>
                    <li><a href="../MyObjectsCompiler/DDL.html#methodgetDatabase">getDatabase</a></li>
                    <li><a href="../MyObjectsCompiler/DDL.html#methodgetDatabaseInfo">getDatabaseInfo</a></li>
                    <li><a href="../MyObjectsCompiler/DDL.html#methodgetDatabases">getDatabases</a></li>
                    <li><a href="../MyObjectsCompiler/DDL.html#methodparse">parse</a></li>
                    <li><a href="../MyObjectsCompiler/DDL.html#methodremoveDatabase">removeDatabase</a></li>
                  </ul>
        </td>
        
        </tr></table>
        <div class="top">[ <a href="#top">Top</a> ]</div>
    </div>
</div>




    <a name="sec-var-summary"></a>
    <div class="info-box">
        <div class="info-box-title">Property Summary</span></div>
        <div class="nav-bar">
            <a href="#sec-description">Class Overview</a> |
                                    <span class="disabled">Property Summary</span> | <a href="#sec-vars">Properties Detail</a>
                                                <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
                                                                </div>
        <div class="info-box-body">
            <div class="var-summary">
            <table border="0" cellspacing="0" cellpadding="0" class="var-summary">
                            <div class="var-title">
                    <tr><td class="var-title"><span class="var-type-summary">array</span>&nbsp;&nbsp;</td>
                    <td class="var-title"><a href="#$databases" title="details" class="var-name-summary">$databases</a>&nbsp;&nbsp;</td>
                    <td class="var-summary-description"></td></tr>
                </div>
                                </table>
            </div>
            <br /><div class="top">[ <a href="#top">Top</a> ]</div>
        </div>
    </div>

    <a name="sec-method-summary"></a>
    <div class="info-box">
        <div class="info-box-title">Method Summary</span></div>
        <div class="nav-bar">
            <a href="#sec-description">Class Overview</a> |
                                                                        <a href="#sec-var-summary">Properties Summary</a> | <a href="#sec-vars">Properties Detail</a>
                                                                    <span class="disabled">Method Summary</span> | <a href="#sec-methods">Methods Detail</a>
        </div>
        <div class="info-box-body">
            <div class="method-summary">
                <table border="0" cellspacing="0" cellpadding="0" class="method-summary">
                                <div class="method-definition">
                                            <tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
                                        <td class="method-definition"><a href="#__construct" title="details" class="method-name">__construct</a>()&nbsp;&nbsp;</td>
                    <td class="method-definition">Constructs a new DDL instance</td></tr>
                </div>
                                <div class="method-definition">
                                            <tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
                                        <td class="method-definition"><a href="#addDatabase" title="details" class="method-name">addDatabase</a>()&nbsp;&nbsp;</td>
                    <td class="method-definition">Adds the given DDLDatabase object to DDL</td></tr>
                </div>
                                <div class="method-definition">
                                            <tr><td class="method-definition"><span class="method-result"><a href="../MyObjectsCompiler/DDLDatabase.html">DDLDatabase</a></span>&nbsp;&nbsp;</td>
                                        <td class="method-definition"><a href="#getDatabase" title="details" class="method-name">getDatabase</a>()&nbsp;&nbsp;</td>
                    <td class="method-definition">Returns the requested DDLDatabase object</td></tr>
                </div>
                                <div class="method-definition">
                                            <tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
                                        <td class="method-definition"><a href="#getDatabaseInfo" title="details" class="method-name">getDatabaseInfo</a>()&nbsp;&nbsp;</td>
                    <td class="method-definition">Queries the database and generates corresponding objects describing  the database schema. Maps the generated objects to the supplied Xml Document.</td></tr>
                </div>
                                <div class="method-definition">
                                            <tr><td class="method-definition"><span class="method-result">array</span>&nbsp;&nbsp;</td>
                                        <td class="method-definition"><a href="#getDatabases" title="details" class="method-name">getDatabases</a>()&nbsp;&nbsp;</td>
                    <td class="method-definition">Returns databases registered with DDL object</td></tr>
                </div>
                                <div class="method-definition">
                                            <tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
                                        <td class="method-definition"><a href="#parse" title="details" class="method-name">parse</a>()&nbsp;&nbsp;</td>
                    <td class="method-definition">Parses the specified ddl file and creates DDL objects</td></tr>
                </div>
                                <div class="method-definition">
                                            <tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
                                        <td class="method-definition"><a href="#removeDatabase" title="details" class="method-name">removeDatabase</a>()&nbsp;&nbsp;</td>
                    <td class="method-definition">Removes the DDLDatabase object from DDL</td></tr>
                </div>
                                </table>
            </div>
            <br /><div class="top">[ <a href="#top">Top</a> ]</div>
        </div>
    </div>

    <a name="sec-vars"></a>
    <div class="info-box">
        <div class="info-box-title">Properties</div>
        <div class="nav-bar">
            <a href="#sec-description">Class Overview</a> |
                                                    <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
            
                            |
                                    <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
                                                </div>
        <div class="info-box-body">
            <a name="var$databases" id="$databases"><!-- --></A>
<div class="oddrow">

    <div class="var-header">
        <span class="var-title">
            <span class="var-type">array</span>&nbsp;&nbsp;
            <span class="var-name">$databases</span>
                        <span class="smalllinenumber">[line <a href="..//__filesource/fsource_MyObjectsCompiler__compilerDDL.php.html#a27">27</a>]</span>
        </span>
    </div>

        <strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>protected</td>
  </tr>
</table>
<br />


    
        <br />
    <div class="top">[ <a href="#top">Top</a> ]</div>
</div>
        </div>
    </div>

    <a name="sec-methods"></a>
    <div class="info-box">
        <div class="info-box-title">Methods</div>
        <div class="nav-bar">
            <a href="#sec-description">Class Overview</a> |
                                                    |
                                    <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
                                                                    | <a href="#sec-method-summary">Method Summary</a> | <span class="disabled">Methods Detail</span>
                    </div>
        <div class="info-box-body">
            <a name='method_detail'></a>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">

<div class="method-header">
    <span class="method-title">Constructor __construct</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="..//__filesource/fsource_MyObjectsCompiler__compilerDDL.php.html#a34">34</a>]</span>
</div>
<br />

    <div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
        <code>void __construct(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

    <p align="center" class="short-description"><strong>Constructs a new DDL instance
</strong></p>

    <br />
    <strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


    
        <br />
    <div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodaddDatabase" id="addDatabase"><!-- --></a>
<div class="oddrow">

<div class="method-header">
    <span class="method-title">addDatabase</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="..//__filesource/fsource_MyObjectsCompiler__compilerDDL.php.html#a59">59</a>]</span>
</div>
<br />

    <div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
        <code>void addDatabase(
DDLDatabase
$database&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

    <p align="center" class="short-description"><strong>Adds the given DDLDatabase object to DDL
</strong></p>

            <strong>Parameters:</strong><br />
            <table border="0" cellspacing="0" cellpadding="0">
                    <tr><td class="indent">
                <span class="var-type"><a href="../MyObjectsCompiler/DDLDatabase.html">DDLDatabase</a></span>&nbsp;&nbsp;</td>
                <td>
                <span class="var-name">$database:&nbsp;</span></td>
                <td>
                <span class="var-description"> The DDLDatabase object that will be added</span>            </td></tr>
                </table>

    <br />
    <strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


    
        <br />
    <div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetDatabase" id="getDatabase"><!-- --></a>
<div class="evenrow">

<div class="method-header">
    <span class="method-title">getDatabase</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="..//__filesource/fsource_MyObjectsCompiler__compilerDDL.php.html#a44">44</a>]</span>
</div>
<br />

    <div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
        <code><a href="../MyObjectsCompiler/DDLDatabase.html">DDLDatabase</a> getDatabase(
string
$database&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

    <p align="center" class="short-description"><strong>Returns the requested DDLDatabase object
</strong></p>

            <strong>Parameters:</strong><br />
            <table border="0" cellspacing="0" cellpadding="0">
                    <tr><td class="indent">
                <span class="var-type">string</span>&nbsp;&nbsp;</td>
                <td>
                <span class="var-name">$database:&nbsp;</span></td>
                <td>
                <span class="var-description"> Name of DDLDatabase object that is requested</span>            </td></tr>
                </table>

    <br />
    <strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>The requested DDLDatabase object</td>
  </tr>
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


    
        <br />
    <div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetDatabaseInfo" id="getDatabaseInfo"><!-- --></a>
<div class="oddrow">

<div class="method-header">
    <span class="method-title">getDatabaseInfo</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="..//__filesource/fsource_MyObjectsCompiler__compilerDDL.php.html#a96">96</a>]</span>
</div>
<br />

    <div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
        <code>void getDatabaseInfo(
DOMDocument
$doc,  mysqli
$db,  string
$database,  [mixed
$verbose = false]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

    <p align="center" class="short-description"><strong>Queries the database and generates corresponding objects describing  the database schema. Maps the generated objects to the supplied Xml Document.
</strong></p>

            <strong>Parameters:</strong><br />
            <table border="0" cellspacing="0" cellpadding="0">
                    <tr><td class="indent">
                <span class="var-type">DOMDocument</span>&nbsp;&nbsp;</td>
                <td>
                <span class="var-name">$doc:&nbsp;</span></td>
                <td>
                <span class="var-description"> Xml Document object that will be used to store  database schema.</span>            </td></tr>
                    <tr><td class="indent">
                <span class="var-type">mysqli</span>&nbsp;&nbsp;</td>
                <td>
                <span class="var-name">$db:&nbsp;</span></td>
                <td>
                <span class="var-description"> mysqli object that will be used to query database</span>            </td></tr>
                    <tr><td class="indent">
                <span class="var-type">string</span>&nbsp;&nbsp;</td>
                <td>
                <span class="var-name">$database:&nbsp;</span></td>
                <td>
                <span class="var-description"> Database name that's going to be examined</span>            </td></tr>
                </table>

    <br />
    <strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


    
        <br />
    <div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetDatabases" id="getDatabases"><!-- --></a>
<div class="evenrow">

<div class="method-header">
    <span class="method-title">getDatabases</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="..//__filesource/fsource_MyObjectsCompiler__compilerDDL.php.html#a82">82</a>]</span>
</div>
<br />

    <div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
        <code>array getDatabases(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

    <p align="center" class="short-description"><strong>Returns databases registered with DDL object
</strong></p>

    <br />
    <strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>Array of DDLDb objects</td>
  </tr>
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


    
        <br />
    <div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodparse" id="parse"><!-- --></a>
<div class="oddrow">

<div class="method-header">
    <span class="method-title">parse</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="..//__filesource/fsource_MyObjectsCompiler__compilerDDL.php.html#a129">129</a>]</span>
</div>
<br />

    <div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
        <code>void parse(
DOMDocument
$doc&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

    <p align="center" class="short-description"><strong>Parses the specified ddl file and creates DDL objects
</strong></p>

    <br />
    <strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


    
        <br />
    <div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodremoveDatabase" id="removeDatabase"><!-- --></a>
<div class="evenrow">

<div class="method-header">
    <span class="method-title">removeDatabase</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="..//__filesource/fsource_MyObjectsCompiler__compilerDDL.php.html#a69">69</a>]</span>
</div>
<br />

    <div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
        <code>void removeDatabase(
string
$database&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

    <p align="center" class="short-description"><strong>Removes the DDLDatabase object from DDL
</strong></p>

            <strong>Parameters:</strong><br />
            <table border="0" cellspacing="0" cellpadding="0">
                    <tr><td class="indent">
                <span class="var-type">string</span>&nbsp;&nbsp;</td>
                <td>
                <span class="var-name">$database:&nbsp;</span></td>
                <td>
                <span class="var-description"> DDLDatabase object to be removed</span>            </td></tr>
                </table>

    <br />
    <strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


    
        <br />
    <div class="top">[ <a href="#top">Top</a> ]</div>
</div>
        </div>
    </div>


        <div class="credit">
            <hr class="separator" />
            Documentation generated on Tue,   7 Dec 2004 20:30:04 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC3</a>
          </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>


Other Development Tools Scripts:

WebMaster Resources Home

©RingsWorld.com