1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-04 23:44:25 +03:00
ifhub.club/classes/blocks/BlockStreamConfig.class.php

14 lines
552 B
PHP

<?php
class BlockStreamConfig extends Block
{
public function Exec() {
$aTypesList = $this->Stream_getTypesList($this->User_getUserCurrent()->getId());
$this->Viewer_Assign('aStreamTypesList', $aTypesList);
$aUserSubscribes = $this->Stream_getUserSubscribes($this->User_getUserCurrent()->getId());
$aFriends = $this->User_getUsersFriend($this->User_getUserCurrent()->getId());
$this->Viewer_Assign('aStreamSubscribedUsers', $aUserSubscribes);
$this->Viewer_Assign('aStreamFriends', $aFriends);
}
}