mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-19 09:18:18 +03:00
fix ORM
This commit is contained in:
parent
10623463b1
commit
63d16ee4dc
|
@ -1703,12 +1703,15 @@ class ModuleTopic extends Module
|
|||
/**
|
||||
* Алиас для корректной работы ORM
|
||||
*
|
||||
* @param array $aTopocId Список ID топиков
|
||||
* @param array $aFilter Фильтр, который содержит список id топиков в параметре "id in"
|
||||
* @return array
|
||||
*/
|
||||
public function GetTopicItemsByArrayId($aTopocId)
|
||||
public function GetTopicItemsByFilter($aFilter)
|
||||
{
|
||||
return $this->GetTopicsByArrayId($aTopocId);
|
||||
if (isset($aFilter['id in'])) {
|
||||
return $this->GetTopicsByArrayId($aFilter['id in']);
|
||||
}
|
||||
return array();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -299,12 +299,15 @@ class ModuleUser extends Module
|
|||
/**
|
||||
* Алиас для корректной работы ORM
|
||||
*
|
||||
* @param array $aUserId Список ID пользователей
|
||||
* @param array $aFilter Фильтр, который содержит список id пользователей в параметре "id in"
|
||||
* @return array
|
||||
*/
|
||||
public function GetUserItemsByArrayId($aUserId)
|
||||
public function GetUserItemsByFilter($aFilter)
|
||||
{
|
||||
return $this->GetUsersByArrayId($aUserId);
|
||||
if (isset($aFilter['id in'])) {
|
||||
return $this->GetUsersByArrayId($aFilter['id in']);
|
||||
}
|
||||
return array();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit bafdaa07e0f0a97ee4fe097f70e561efc7087506
|
||||
Subproject commit cf757a7badaae62e2f431ca48908e5775eb748a1
|
Loading…
Reference in a new issue