data['files'] = isset($_GET['files']) ? $_GET['files'] : null; $this->data['path'] = isset($_GET['path']) ? $_GET['path'] : null; foreach($this->data as $k => $v) { $this->data[$k] = stripslashes($v); } } public function __get($name) { if(isset($this->data[$name])) return $this->data[$name]; return null; } } function renderError($string) { print "
" . $string . "
"; } $request = new Request(); ?> Doctrine ORM Framework
Doctrine Export
This script is used for exporting existing Doctrine record classes to database schema. Doctrine tries to create database tables according to definitions given in the records.
Path :
Files :
path)) renderError('Directory \'' . $request->path . '\' does not exist'); foreach($files as $k => $file) { $file = $request->path . $file; if( ! file_exists($file)) { renderError('File \'' . $file . '\' does not exist'); break; } $files[$k] = $file; } } ?>