|
@@ -99,7 +99,7 @@ discard block |
|
|
block discarded – undo |
|
99
|
99
|
$this->zohoDatabaseModelSync = $zohoDatabaseModelSync; |
|
100
|
100
|
$this->zohoDatabaseCopier = $zohoDatabaseCopier; |
|
101
|
101
|
$this->zohoDatabaseSync = $zohoDatabaseSync; |
|
102
|
|
- $this->zohoEntitiesGenerator = $zohoEntitiesGenerator; |
|
|
102
|
+ $this->zohoEntitiesGenerator = $zohoEntitiesGenerator; |
|
103
|
103
|
$this->zohoClient = $zohoClient; |
|
104
|
104
|
$this->pathZohoDaos = $pathZohoDaos; |
|
105
|
105
|
$this->namespaceZohoDaos = $namespaceZohoDaos; |
|
@@ -189,7 +189,7 @@ discard block |
|
|
block discarded – undo |
|
189
|
189
|
*/ |
|
190
|
190
|
private function getListFieldName(AbstractZohoDao $zohoDao) |
|
191
|
191
|
{ |
|
192
|
|
- $fieldNames= array(); |
|
|
192
|
+ $fieldNames = array(); |
|
193
|
193
|
foreach ($zohoDao->getFields() as $fieldsDescriptor) { |
|
194
|
194
|
foreach (array_values($fieldsDescriptor) as $fieldDescriptor) { |
|
195
|
195
|
$fieldNames[] = $fieldDescriptor['name']; |
|
@@ -213,7 +213,7 @@ discard block |
|
|
block discarded – undo |
|
213
|
213
|
$zohoDao = new $daoFullClassName($this->zohoClient); |
|
214
|
214
|
//To have more module which is use time of modification (createdTime or lastActivityTime). |
|
215
|
215
|
//use an array of Excluded Dao by full namespace |
|
216
|
|
- if (($this->excludedZohoDao && in_array(get_class($zohoDao),$this->excludedZohoDao)) || !in_array('createdTime', $this->getListFieldName($zohoDao))) { |
|
|
216
|
+ if (($this->excludedZohoDao && in_array(get_class($zohoDao), $this->excludedZohoDao)) || !in_array('createdTime', $this->getListFieldName($zohoDao))) { |
|
217
|
217
|
continue; |
|
218
|
218
|
} |
|
219
|
219
|
$this->zohoDaos [] = $zohoDao; |