issue #1579 : Add models
This commit is contained in:
parent
83d545c0c8
commit
86bc121292
@ -2,4 +2,5 @@
|
||||
class Application_Model_CodePostaux extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'fields_codepostaux';
|
||||
protected $_schema = 'ciblage';
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
class Application_Model_Comptages extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'ciblage_comptages';
|
||||
protected $_schema = 'ciblage';
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
class Application_Model_Criteres extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'ciblage_criteres';
|
||||
protected $_schema = 'ciblage';
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
class Application_Model_CustomerParams extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'customer_params';
|
||||
protected $_schema = 'ciblage';
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
class Application_Model_Departements extends Zend_Db_Table_Abstract
|
||||
{
|
||||
public $_name = 'fields_departements';
|
||||
protected $_schema = 'ciblage';
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
class Application_Model_EnrichissementIdentifiants extends Zend_Db_Table_Abstract
|
||||
{
|
||||
public $_name = 'enrichissement_identifiants';
|
||||
protected $_schema = 'ciblage';
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
class Application_Model_EnrichissementProfils extends Zend_Db_Table_Abstract
|
||||
{
|
||||
public $_name = 'enrichissement_profils';
|
||||
protected $_schema = 'ciblage';
|
||||
}
|
@ -3,5 +3,5 @@ class Application_Model_FormeJuridique extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'fields_formejuridique';
|
||||
protected $_primary = 'fjCode';
|
||||
|
||||
protected $_schema = 'ciblage';
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
class Application_Model_MinMax extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'fields_minmax';
|
||||
protected $_schema = 'ciblage';
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
class Application_Model_Naf extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'fields_naf';
|
||||
protected $_schema = 'ciblage';
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
class Application_Model_Prefs extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'customer_prefs';
|
||||
protected $_schema = 'ciblage';
|
||||
}
|
@ -2,5 +2,6 @@
|
||||
class Application_Model_Regions extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'fields_regions';
|
||||
protected $_schema = 'ciblage';
|
||||
}
|
||||
|
@ -2,4 +2,5 @@
|
||||
class Application_Model_JoSpinxIdx extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'sphinx_idx';
|
||||
protected $_schema = 'jo';
|
||||
}
|
6
application/models/Sdv1Clients.php
Normal file
6
application/models/Sdv1Clients.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
class Application_Model_Sdv1Clients extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'clients';
|
||||
protected $_schema = 'sdv1';
|
||||
}
|
13
application/models/Sdv1Utilisateurs.php
Normal file
13
application/models/Sdv1Utilisateurs.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
class Application_Model_Sdv1Utilisateurs extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'utilisateurs';
|
||||
protected $_schema = 'sdv1';
|
||||
protected $_referenceMap = array(
|
||||
'Reporter' => array(
|
||||
'columns' => 'idClient',
|
||||
'refTableClass' => 'Sdv1Clients',
|
||||
'refColumns' => 'id'
|
||||
),
|
||||
);
|
||||
}
|
6
application/models/Sdv1UtilisateursService.php
Normal file
6
application/models/Sdv1UtilisateursService.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
class Application_Model_Sdv1UtilisateursService extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'utilisateurs_service';
|
||||
protected $_schema = 'sdv1';
|
||||
}
|
Loading…
Reference in New Issue
Block a user