mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-01 05:55:02 +03:00
key_exists -> array_key_exists
This commit is contained in:
parent
7009b3fd9d
commit
0bc7e5f79e
|
@ -272,7 +272,7 @@ abstract class ModuleORM extends Module {
|
|||
}
|
||||
|
||||
// Если параметр #cache указан и пуст, значит игнорируем кэширование для запроса
|
||||
if (key_exists($aFilter,'#cache') && !$aFilter['#cache']) {
|
||||
if (array_key_exists('#cache', $aFilter) && !$aFilter['#cache']) {
|
||||
$aEntities=$this->oMapperORM->GetItemsByFilter($aFilter,$sEntityFull);
|
||||
} else {
|
||||
$sEntityFullRoot=$this->Plugin_GetRootDelegater('entity',$sEntityFull);
|
||||
|
@ -380,7 +380,7 @@ abstract class ModuleORM extends Module {
|
|||
$sEntityFull=Engine::GetPluginPrefix($this).'Module'.Engine::GetModuleName($this).'_Entity'.$sEntityFull;
|
||||
}
|
||||
// Если параметр #cache указан и пуст, значит игнорируем кэширование для запроса
|
||||
if (key_exists($aFilter,'#cache') && !$aFilter['#cache']) {
|
||||
if (array_key_exists('#cache', $aFilter) && !$aFilter['#cache']) {
|
||||
$iCount=$this->oMapperORM->GetCountItemsByFilter($aFilter,$sEntityFull);
|
||||
} else {
|
||||
$sEntityFullRoot=$this->Plugin_GetRootDelegater('entity',$sEntityFull);
|
||||
|
@ -421,7 +421,7 @@ abstract class ModuleORM extends Module {
|
|||
}
|
||||
|
||||
// Если параметр #cache указан и пуст, значит игнорируем кэширование для запроса
|
||||
if (key_exists($aJoinData, '#cache') && !$aJoinData['#cache']) {
|
||||
if (array_key_exists('#cache', $aJoinData) && !$aJoinData['#cache']) {
|
||||
$aEntities = $this->oMapperORM->GetItemsByJoinTable($aJoinData,$sEntityFull);
|
||||
} else {
|
||||
$sEntityFullRoot=$this->Plugin_GetRootDelegater('entity',$sEntityFull);
|
||||
|
@ -462,7 +462,7 @@ abstract class ModuleORM extends Module {
|
|||
$sEntityFull=Engine::GetPluginPrefix($this).'Module'.Engine::GetModuleName($this).'_Entity'.$sEntityFull;
|
||||
}
|
||||
// Если параметр #cache указан и пуст, значит игнорируем кэширование для запроса
|
||||
if (key_exists($aJoinData, '#cache') && !$aJoinData['#cache']) {
|
||||
if (array_key_exists( '#cache', $aJoinData) && !$aJoinData['#cache']) {
|
||||
$iCount = $this->oMapperORM->GetCountItemsByJoinTable($aJoinData,$sEntityFull);
|
||||
} else {
|
||||
$sEntityFullRoot=$this->Plugin_GetRootDelegater('entity',$sEntityFull);
|
||||
|
|
Loading…
Reference in a new issue