-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from pedro151/V1.5.x
V1.5.2
- Loading branch information
Showing
13 changed files
with
172 additions
and
47 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
namespace Classes\AdapterMakerFile\ZendFrameworkOne; | ||
use Classes\AdapterMakerFile\AbstractAdapter; | ||
|
||
/** | ||
* @author Pedro Alarcao <phacl151@gmail.com> | ||
* @link https://github.com/pedro151/orm-generator | ||
*/ | ||
class Peer extends AbstractAdapter | ||
{ | ||
/** | ||
* @var void | ||
*/ | ||
public $pastName = 'Peer'; | ||
protected $fileTpl = "peer.php"; | ||
protected $fileFixedData = array ( | ||
'exception' => array ( | ||
'tpl' => "model_exception.php" , | ||
'name' => "Exception" | ||
) | ||
); | ||
|
||
public function parseRelation ( \Classes\MakerFile $makerFile, \Classes\Db\DbTable $dbTable ) | ||
{ | ||
return array(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?="<?php\n"?> | ||
|
||
/** | ||
* Application Model Peer | ||
* | ||
* <?=$this->config->last_modify."\n"?> | ||
* | ||
* Tabela definida por 'tablename' | ||
* | ||
* @package <?=$objTables->getNamespace()?><?="\n"?> | ||
* @subpackage Peer | ||
* @author <?=$this->config->author."\n"?> | ||
* | ||
* @copyright <?=$this->config->copyright."\n"?> | ||
* @license <?=$this->config->license."\n"?> | ||
* @link <?=$this->config->link."\n"?> | ||
* @version <?=$this->config->version."\n"?> | ||
*/ | ||
|
||
class <?=$objTables->getNamespace()?>_Peer_<?=\Classes\Maker\AbstractMaker::getClassName ( $objTables->getName () )?> extends <?=$objTables->getNamespace()?$objTables->getNamespace()."_":''?>DbTable_<?=\Classes\Maker\AbstractMaker::getClassName ( $objTables->getName () ) . "\n"?> | ||
{ | ||
/* @TODO Codifique aqui */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,7 @@ | |
'schema:', | ||
'driver:', | ||
'tables:', | ||
'optional-classes:', | ||
'framework:', | ||
'path:', | ||
'clean-trash:', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,50 @@ | ||
{ | ||
"name": "pedro151/orm-generator", | ||
"description": "orm-generator maps the entire database and then creates the DAO (Data Access Object) and ORM (Object-relational mapping) of the entire database to facilitate the development. uses various types of databases like Postgres and Mysql and various types of ORM framework.", | ||
"keywords": ["orm", "datamapper", "database", "model", "mapper", "entity", "dao", "generator", "orm-generator", "mysql", "postgres", "phalcon", "zend"], | ||
"license": "MIT", | ||
"version": "v1.5.1", | ||
"authors": [ | ||
{ | ||
"name": "pedro151", | ||
"email": "phacl@hotmail.com" | ||
} | ||
], | ||
"minimum-stability": "dev", | ||
"autoload" : { | ||
"psr-4" : { | ||
"Classes\\" : "build/Classes" | ||
} | ||
}, | ||
"autoload-dev" : { | ||
"psr-4" : { | ||
"TestMysql\\" : "TestMysql", | ||
"TestPgsql\\" : "TestPgsql" | ||
} | ||
}, | ||
"require" : { | ||
"php" : ">=5.3.0" | ||
}, | ||
"require-dev" : { | ||
"phpunit/phpunit": "~4.5" | ||
"name" : "pedro151/orm-generator", | ||
"description" : "orm-generator maps the entire database and then creates the DAO (Data Access Object) and ORM (Object-relational mapping) of the entire database to facilitate the development. uses various types of databases like Postgres and Mysql and various types of ORM framework.", | ||
"keywords" : [ | ||
"orm", | ||
"datamapper", | ||
"database", | ||
"model", | ||
"mapper", | ||
"entity", | ||
"dao", | ||
"generator", | ||
"orm-generator", | ||
"mysql", | ||
"postgres", | ||
"phalcon", | ||
"zend" | ||
], | ||
"license" : "MIT", | ||
"version" : "v1.5.2", | ||
"authors" : [ | ||
{ | ||
"name" : "pedro151", | ||
"email" : "phacl@hotmail.com" | ||
} | ||
], | ||
"minimum-stability" : "dev", | ||
"autoload" : { | ||
"psr-4" : { | ||
"Classes\\" : "build/Classes" | ||
} | ||
}, | ||
"autoload-dev" : { | ||
"psr-4" : { | ||
"TestMysql\\" : "TestMysql", | ||
"TestPgsql\\" : "TestPgsql" | ||
} | ||
}, | ||
"require" : { | ||
"php" : ">=5.3.0" | ||
}, | ||
"require-dev" : { | ||
"phpunit/phpunit" : "~4.5" | ||
}, | ||
"config" : { | ||
"preferred-install" : "dist", | ||
"disable-tls" : true, | ||
"secure-http" : false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,6 +76,7 @@ | |
'schema:' , | ||
'driver:' , | ||
'tables:', | ||
'optional-classes:', | ||
'framework:' , | ||
'path:', | ||
'clean-trash:', | ||
|