255 lines
13 KiB
HTML
255 lines
13 KiB
HTML
<!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>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<title>Giant: giant/old/generateDoctrine.php File Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body onload='searchBox.OnSelectItem(0);'>
|
|
<!-- Generated by Doxygen 1.7.4 -->
|
|
<script type="text/javascript"><!--
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
--></script>
|
|
<div id="top">
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">Giant <span id="projectnumber">1.0</span></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
<li id="searchli">
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#enum-members">Enumerations</a> |
|
|
<a href="#var-members">Variables</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">giant/old/generateDoctrine.php File Reference</div> </div>
|
|
</div>
|
|
<div class="contents">
|
|
|
|
<p><a href="generate_doctrine_8php_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="enum-members"></a>
|
|
Enumerations</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="generate_doctrine_8php.html#a7bc921e81392f94148619931a03079f8">MYSQL_USER</a> </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="generate_doctrine_8php.html#ad7350891f04fbd2e14a897e3226e9142">MYSQL_PASS</a> </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="generate_doctrine_8php.html#ac63568fbdecb54df84fe8508003eeeb6">MYSQL_HOST</a> </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="generate_doctrine_8php.html#aa1c9998f17d6a71b0db75cd432d78528">PATH_SITE</a> </td></tr>
|
|
<tr><td colspan="2"><h2><a name="var-members"></a>
|
|
Variables</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="generate_doctrine_8php.html#a82033b630e140d895f9c0e553a0b6098">$argc</a> = $_SERVER['argc']</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="generate_doctrine_8php.html#af4aba6237cb0d8d2720bc840728e1f3e">$argv</a> = $_SERVER['argv']</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">if($argc!=3) </td><td class="memItemRight" valign="bottom"><a class="el" href="generate_doctrine_8php.html#a4e8d20ae59cd4c9bbeb3954df95beb7d">$base</a> = $argv[1]</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="generate_doctrine_8php.html#a367abc06e55c440c638a820e7f40aa00">$chemin</a> = $argv[2]</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">if(file_exists($chemin)==false) </td><td class="memItemRight" valign="bottom"><a class="el" href="generate_doctrine_8php.html#af17f4e62d729753fae305f4acdf61f61">$dsn</a> = 'mysql://'.MYSQL_USER.':'.MYSQL_PASS.'@'.<a class="el" href="generate_doctrine_8php.html#ac63568fbdecb54df84fe8508003eeeb6">MYSQL_HOST</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="generate_doctrine_8php.html#a4621b1cd69b1417c9fb966c825299de1">$manager</a> = Doctrine_Manager::getInstance()</td></tr>
|
|
</table>
|
|
<hr/><h2>Enumeration Type Documentation</h2>
|
|
<a class="anchor" id="ac63568fbdecb54df84fe8508003eeeb6"></a><!-- doxytag: member="generateDoctrine.php::MYSQL_HOST" ref="ac63568fbdecb54df84fe8508003eeeb6" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="generate_doctrine_8php.html#ac63568fbdecb54df84fe8508003eeeb6">MYSQL_HOST</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="generate_doctrine_8php_source.html#l00004">4</a> of file <a class="el" href="generate_doctrine_8php_source.html">generateDoctrine.php</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad7350891f04fbd2e14a897e3226e9142"></a><!-- doxytag: member="generateDoctrine.php::MYSQL_PASS" ref="ad7350891f04fbd2e14a897e3226e9142" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="generate_doctrine_8php.html#ad7350891f04fbd2e14a897e3226e9142">MYSQL_PASS</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="generate_doctrine_8php_source.html#l00003">3</a> of file <a class="el" href="generate_doctrine_8php_source.html">generateDoctrine.php</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7bc921e81392f94148619931a03079f8"></a><!-- doxytag: member="generateDoctrine.php::MYSQL_USER" ref="a7bc921e81392f94148619931a03079f8" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="generate_doctrine_8php.html#a7bc921e81392f94148619931a03079f8">MYSQL_USER</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="generate_doctrine_8php_source.html#l00002">2</a> of file <a class="el" href="generate_doctrine_8php_source.html">generateDoctrine.php</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa1c9998f17d6a71b0db75cd432d78528"></a><!-- doxytag: member="generateDoctrine.php::PATH_SITE" ref="aa1c9998f17d6a71b0db75cd432d78528" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="generate_doctrine_8php.html#aa1c9998f17d6a71b0db75cd432d78528">PATH_SITE</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="generate_doctrine_8php_source.html#l00006">6</a> of file <a class="el" href="generate_doctrine_8php_source.html">generateDoctrine.php</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Variable Documentation</h2>
|
|
<a class="anchor" id="a82033b630e140d895f9c0e553a0b6098"></a><!-- doxytag: member="generateDoctrine.php::$argc" ref="a82033b630e140d895f9c0e553a0b6098" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">$argc = $_SERVER['argc']</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="generate_doctrine_8php_source.html#l00011">11</a> of file <a class="el" href="generate_doctrine_8php_source.html">generateDoctrine.php</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af4aba6237cb0d8d2720bc840728e1f3e"></a><!-- doxytag: member="generateDoctrine.php::$argv" ref="af4aba6237cb0d8d2720bc840728e1f3e" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">$argv = $_SERVER['argv']</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="generate_doctrine_8php_source.html#l00012">12</a> of file <a class="el" href="generate_doctrine_8php_source.html">generateDoctrine.php</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4e8d20ae59cd4c9bbeb3954df95beb7d"></a><!-- doxytag: member="generateDoctrine.php::$base" ref="a4e8d20ae59cd4c9bbeb3954df95beb7d" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">if ($argc!=3) $base = $argv[1]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="generate_doctrine_8php_source.html#l00017">17</a> of file <a class="el" href="generate_doctrine_8php_source.html">generateDoctrine.php</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a367abc06e55c440c638a820e7f40aa00"></a><!-- doxytag: member="generateDoctrine.php::$chemin" ref="a367abc06e55c440c638a820e7f40aa00" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">$chemin = $argv[2]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="generate_doctrine_8php_source.html#l00018">18</a> of file <a class="el" href="generate_doctrine_8php_source.html">generateDoctrine.php</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af17f4e62d729753fae305f4acdf61f61"></a><!-- doxytag: member="generateDoctrine.php::$dsn" ref="af17f4e62d729753fae305f4acdf61f61" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">if (file_exists($chemin)==false) $dsn = 'mysql://'.MYSQL_USER.':'.MYSQL_PASS.'@'.<a class="el" href="generate_doctrine_8php.html#ac63568fbdecb54df84fe8508003eeeb6">MYSQL_HOST</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="generate_doctrine_8php_source.html#l00023">23</a> of file <a class="el" href="generate_doctrine_8php_source.html">generateDoctrine.php</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4621b1cd69b1417c9fb966c825299de1"></a><!-- doxytag: member="generateDoctrine.php::$manager" ref="a4621b1cd69b1417c9fb966c825299de1" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">$manager = Doctrine_Manager::getInstance()</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="generate_doctrine_8php_source.html#l00025">25</a> of file <a class="el" href="generate_doctrine_8php_source.html">generateDoctrine.php</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Enumerations</a></div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<hr class="footer"/><address class="footer"><small>Generated on Fri Apr 1 2011 10:12:41 for Giant by 
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
|
</body>
|
|
</html>
|