mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-14 23:08:18 +03:00
fix for ORM
This commit is contained in:
parent
b211eb7d74
commit
9df2016501
|
@ -900,5 +900,14 @@ class ModuleBlog extends Module {
|
|||
$this->Cache_Delete("blog_{$iBlogId}");
|
||||
return $this->oMapperBlog->RecalculateCountTopic($iBlogId);
|
||||
}
|
||||
/**
|
||||
* Алиас для корректной работы ORM
|
||||
*
|
||||
* @param array $aBlogId Список ID блогов
|
||||
* @return array
|
||||
*/
|
||||
public function GetBlogItemsByArrayId($aBlogId) {
|
||||
return $this->GetBlogsByArrayId($aBlogId);
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -951,5 +951,14 @@ class ModuleComment extends Module {
|
|||
$aCollection=$this->oMapper->GetCommentsByFilter($aFilter,$aOrder,$iCount,$iCurrPage,$iPerPage);
|
||||
return array('collection'=>$this->GetCommentsAdditionalData($aCollection,$aAllowData),'count'=>$iCount);
|
||||
}
|
||||
/**
|
||||
* Алиас для корректной работы ORM
|
||||
*
|
||||
* @param array $aCommentId Список ID комментариев
|
||||
* @return array
|
||||
*/
|
||||
public function GetCommentItemsByArrayId($aCommentId) {
|
||||
return $this->GetCommentsByArrayId($aCommentId);
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -1844,5 +1844,14 @@ class ModuleTopic extends Module {
|
|||
public function RecalculateVote(){
|
||||
return $this->oMapperTopic->RecalculateVote();
|
||||
}
|
||||
/**
|
||||
* Алиас для корректной работы ORM
|
||||
*
|
||||
* @param array $aTopocId Список ID топиков
|
||||
* @return array
|
||||
*/
|
||||
public function GetTopicItemsByArrayId($aTopocId) {
|
||||
return $this->GetTopicsByArrayId($aTopocId);
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
Reference in a new issue